#2D419A#2D419A

#2D419A is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.147 H 269.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#2D419A
RGBrgb(45, 65, 154)
HSLhsl(229, 55%, 39%)
HSVhsv(229, 71%, 60%)
CMYKcmyk(70.8%, 57.8%, 0%, 39.6%)
CIE-LABlab(31.05, 23.44, -51.01)
CIE-LCHlch(31.05, 56.14, 294.68°)
OKLaboklab(41.45% -0.0017 -0.1469)
OKLCHoklch(41.45% 0.147 269.3)
XYZxyz(8.8032, 6.6707, 31.3892)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D419A #9A862D
analogous
#2D789A #2D419A #502D9A
triadic
#2D419A #9A2D41 #419A2D
tetradic
#2D419A #9A2D78 #9A862D #2D9A50
square
#2D419A #9A2D78 #9A862D #2D9A50
split-complementary
#2D419A #9A502D #789A2D
monochromatic
#11193B #1F2D6B #2D419A #3E57C7 #6D80D4

Accessibility & contrast

On white

9.00
#2D419A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2D419A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D419A
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D419A#FFFFFF#000000##FFFFFF
##2D419A1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d419a;
/* rgb */ color: rgb(45, 65, 154);
/* oklch */ color: oklch(41.4% 0.147 269.3);
Tailwind
colors: {
  custom: {
    50: '#7475b8',
    500: '#2d419a',
    950: '#000000',
  },
}
SCSS
$custom: #2d419a;
$custom-light: #7475b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d419a",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 228.991,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41448,
    "c": 0.14694,
    "h": 269.3
  },
  "luminance": 0.06672
}

Semantic roles & 50–950 ramp

primary
#2D419A
secondary
#BBAC67
accent
#C34ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D419A

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

Preview Lab → · Contrast checker → · Palette generator →

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