#2D419B#2D419B

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

Color values

HEX#2D419B
RGBrgb(45, 65, 155)
HSLhsl(229, 55%, 39%)
HSVhsv(229, 71%, 61%)
CMYKcmyk(71%, 58.1%, 0%, 39.2%)
CIE-LABlab(31.12, 23.82, -51.49)
CIE-LCHlch(31.12, 56.73, 294.83°)
OKLaboklab(41.53% -0.0016 -0.1483)
OKLCHoklch(41.53% 0.148 269.4)
XYZxyz(8.8869, 6.7042, 31.8297)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D419B #9B872D
analogous
#2D789B #2D419B #502D9B
triadic
#2D419B #9B2D41 #419B2D
tetradic
#2D419B #9B2D78 #9B872D #2D9B50
square
#2D419B #9B2D78 #9B872D #2D9B50
split-complementary
#2D419B #9B502D #789B2D
monochromatic
#11193C #1F2D6C #2D419B #3E57C7 #6E80D5

Accessibility & contrast

On white

8.97
#2D419B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2D419B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D419B
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D419B#FFFFFF#000000##FFFFFF
##2D419B1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d419b;
/* rgb */ color: rgb(45, 65, 155);
/* oklch */ color: oklch(41.5% 0.148 269.4);
Tailwind
colors: {
  custom: {
    50: '#7575b9',
    500: '#2d419b',
    950: '#000000',
  },
}
SCSS
$custom: #2d419b;
$custom-light: #7575b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d419b",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 155
  },
  "hsl": {
    "h": 229.091,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41532,
    "c": 0.14835,
    "h": 269.4
  },
  "luminance": 0.06705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D419B

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

Preview Lab → · Contrast checker → · Palette generator →

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