#2D409C#2D409C

#2D409C is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.151 H 269.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#2D409C
RGBrgb(45, 64, 156)
HSLhsl(230, 55%, 39%)
HSVhsv(230, 71%, 61%)
CMYKcmyk(71.2%, 59%, 0%, 38.8%)
CIE-LABlab(30.94, 24.86, -52.40)
CIE-LCHlch(30.94, 58.00, 295.38°)
OKLaboklab(41.42% -0.0008 -0.151)
OKLCHoklch(41.42% 0.151 269.7)
XYZxyz(8.9143, 6.6241, 32.2548)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D409C #9C892D
analogous
#2D789C #2D409C #522D9C
triadic
#2D409C #9C2D40 #409C2D
tetradic
#2D409C #9C2D78 #9C892D #2D9C52
square
#2D409C #9C2D78 #9C892D #2D9C52
split-complementary
#2D409C #9C522D #789C2D
monochromatic
#12193D #1F2D6D #2D409C #3F56C8 #6E80D5

Accessibility & contrast

On white

9.03
#2D409C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D409C
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D409C#FFFFFF#000000##FFFFFF
##2D409C1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#00449A
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d409c;
/* rgb */ color: rgb(45, 64, 156);
/* oklch */ color: oklch(41.4% 0.151 269.7);
Tailwind
colors: {
  custom: {
    50: '#7574ba',
    500: '#2d409c',
    950: '#000000',
  },
}
SCSS
$custom: #2d409c;
$custom-light: #7574ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d409c",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 156
  },
  "hsl": {
    "h": 229.73,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41416,
    "c": 0.15104,
    "h": 269.7
  },
  "luminance": 0.06625
}

Semantic roles & 50–950 ramp

primary
#2D409C
secondary
#BCAE68
accent
#C549DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2D409C

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

Preview Lab → · Contrast checker → · Palette generator →

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