#2D419E#2D419E

#2D419E is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.153 H 269.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#2D419E
RGBrgb(45, 65, 158)
HSLhsl(229, 56%, 40%)
HSVhsv(229, 72%, 62%)
CMYKcmyk(71.5%, 58.9%, 0%, 38%)
CIE-LABlab(31.36, 24.94, -52.92)
CIE-LCHlch(31.36, 58.50, 295.24°)
OKLaboklab(41.78% -0.0015 -0.1525)
OKLCHoklch(41.78% 0.153 269.4)
XYZxyz(9.1419, 6.8062, 33.1731)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D419E #9E8A2D
analogous
#2D799E #2D419E #522D9E
triadic
#2D419E #9E2D41 #419E2D
tetradic
#2D419E #9E2D79 #9E8A2D #2D9E52
square
#2D419E #9E2D79 #9E8A2D #2D9E52
split-complementary
#2D419E #9E522D #799E2D
monochromatic
#121A3F #1F2D6E #2D419E #4058C9 #6F82D6

Accessibility & contrast

On white

8.89
#2D419E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2D419E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D419E
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D419E#FFFFFF#000000##FFFFFF
##2D419E1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d419e;
/* rgb */ color: rgb(45, 65, 158);
/* oklch */ color: oklch(41.8% 0.153 269.4);
Tailwind
colors: {
  custom: {
    50: '#7575bb',
    500: '#2d419e',
    950: '#000000',
  },
}
SCSS
$custom: #2d419e;
$custom-light: #7575bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d419e",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 158
  },
  "hsl": {
    "h": 229.381,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41784,
    "c": 0.15256,
    "h": 269.4
  },
  "luminance": 0.06807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D419E

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

Preview Lab → · Contrast checker → · Palette generator →

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