#2D2DCD

A color in the Blue, Sky, Navy family

#2d2dcd is a color in the Blue, Sky, Navy family: RGB(45, 45, 205), HSL(240°, 64%, 49%), CMYK(78%, 78%, 0%, 20%). Closest named color: mediumblue. Contrast is 8.87:1 on white and 2.37:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#2d2dcd
RGBrgb(45 45 205)
RGB (legacy)rgb(45, 45, 205)
RGB %rgb(18% 18% 80%)
HSLhsl(240 64% 49%)
HSV / HSBhsv(240, 78%, 80%)
HWBhwb(240 18% 20%)
CMYKcmyk(78%, 78%, 0%, 20%)
CIELAB (D50)lab(29.83 44.15 -83.03)
LCHlch(29.83 94.04 298)
OKLaboklab(0.432 0.0043 -0.2336)
OKLCHoklch(0.432 0.2336 271.04)
Decimal2960845

Properties

Color ToneBlue, Sky, Navy
Closest named colormediumblue ΔE 6.6
Closest web-safe color#3333cc
Hue240°
Saturation (HSL / HSV)64% / 78%
Lightness (HSL)49%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)25% / 22%
Relative luminance (WCAG)0.0684
Red / Green / Blue45 / 45 / 205

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.87:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.37:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 89 / -13.2 · As background with white / black text: Lc -93.6 / 15

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #2d2dcd;
  --color-brand-oklch: oklch(43.2% 0.2336 271.04);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(45 45 205 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2d2dcd] text-[#2d2dcd] border-[#2d2dcd]">