#2D406B#2D406B

#2D406B is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.7% C 0.078 H 264.9°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#2D406B
RGBrgb(45, 64, 107)
HSLhsl(222, 41%, 30%)
HSVhsv(222, 58%, 42%)
CMYKcmyk(57.9%, 40.2%, 0%, 58%)
CIE-LABlab(27.53, 6.55, -27.39)
CIE-LCHlch(27.53, 28.16, 283.45°)
OKLaboklab(37.75% -0.0069 -0.0775)
OKLCHoklch(37.75% 0.078 264.9)
XYZxyz(5.5685, 5.2858, 14.6339)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D406B #6B582D
analogous
#2D5F6B #2D406B #392D6B
triadic
#2D406B #6B2D40 #406B2D
tetradic
#2D406B #6B2D5F #6B582D #2D6B39
square
#2D406B #6B2D5F #6B582D #2D6B39
split-complementary
#2D406B #6B392D #5F6B2D
monochromatic
#090D16 #1B2640 #2D406B #3F5A96 #5977B9

Accessibility & contrast

On white

10.21
#2D406B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2D406B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D406B
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D406B#FFFFFF#000000##FFFFFF
##2D406B1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E446D
Deuteranopia (green-blind)
#273E6A
Tritanopia (blue-blind)
#094950
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d406b;
/* rgb */ color: rgb(45, 64, 107);
/* oklch */ color: oklch(37.7% 0.078 264.9);
Tailwind
colors: {
  custom: {
    50: '#6b7495',
    500: '#2d406b',
    950: '#000000',
  },
}
SCSS
$custom: #2d406b;
$custom-light: #6b7495;
$custom-dark: #000000;
JSON
{
  "hex": "#2d406b",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 107
  },
  "hsl": {
    "h": 221.613,
    "s": 40.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37747,
    "c": 0.07786,
    "h": 264.9
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#2D406B
secondary
#9D8757
accent
#AB57D1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2D406B

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

Preview Lab → · Contrast checker → · Palette generator →

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