#2D419C#2D419C

#2D419C is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.150 H 269.4°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#2D419C
RGBrgb(45, 65, 156)
HSLhsl(229, 55%, 39%)
HSVhsv(229, 71%, 61%)
CMYKcmyk(71.2%, 58.3%, 0%, 38.8%)
CIE-LABlab(31.20, 24.19, -51.97)
CIE-LCHlch(31.20, 57.32, 294.96°)
OKLaboklab(41.62% -0.0016 -0.1497)
OKLCHoklch(41.62% 0.15 269.4)
XYZxyz(8.9712, 6.7379, 32.2738)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D419C #9C882D
analogous
#2D799C #2D419C #512D9C
triadic
#2D419C #9C2D41 #419C2D
tetradic
#2D419C #9C2D79 #9C882D #2D9C51
square
#2D419C #9C2D79 #9C882D #2D9C51
split-complementary
#2D419C #9C512D #799C2D
monochromatic
#12193D #1F2D6D #2D419C #3F57C8 #6E81D5

Accessibility & contrast

On white

8.94
#2D419C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2D419C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D419C
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D419C#FFFFFF#000000##FFFFFF
##2D419C1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d419c;
/* rgb */ color: rgb(45, 65, 156);
/* oklch */ color: oklch(41.6% 0.150 269.4);
Tailwind
colors: {
  custom: {
    50: '#7575ba',
    500: '#2d419c',
    950: '#000000',
  },
}
SCSS
$custom: #2d419c;
$custom-light: #7575ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d419c",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 156
  },
  "hsl": {
    "h": 229.189,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41616,
    "c": 0.14976,
    "h": 269.4
  },
  "luminance": 0.06739
}

Semantic roles & 50–950 ramp

primary
#2D419C
secondary
#BCAD68
accent
#C449DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2D419C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2D419C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva