#2D406A#2D406A

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

Color values

HEX#2D406A
RGBrgb(45, 64, 106)
HSLhsl(221, 40%, 30%)
HSVhsv(221, 58%, 42%)
CMYKcmyk(57.5%, 39.6%, 0%, 58.4%)
CIE-LABlab(27.48, 6.19, -26.84)
CIE-LCHlch(27.48, 27.54, 282.98°)
OKLaboklab(37.68% -0.0072 -0.0759)
OKLCHoklch(37.68% 0.076 264.6)
XYZxyz(5.5162, 5.2649, 14.3584)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D406A #6A572D
analogous
#2D5F6A #2D406A #382D6A
triadic
#2D406A #6A2D40 #406A2D
tetradic
#2D406A #6A2D5F #6A572D #2D6A38
square
#2D406A #6A2D5F #6A572D #2D6A38
split-complementary
#2D406A #6A382D #5F6A2D
monochromatic
#090D15 #1B263F #2D406A #3F5A95 #5977B8

Accessibility & contrast

On white

10.23
#2D406A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2D406A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D406A
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D406A#FFFFFF#000000##FFFFFF
##2D406A1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F446C
Deuteranopia (green-blind)
#283E69
Tritanopia (blue-blind)
#0B4950
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d406a;
/* rgb */ color: rgb(45, 64, 106);
/* oklch */ color: oklch(37.7% 0.076 264.6);
Tailwind
colors: {
  custom: {
    50: '#6b7495',
    500: '#2d406a',
    950: '#000000',
  },
}
SCSS
$custom: #2d406a;
$custom-light: #6b7495;
$custom-dark: #000000;
JSON
{
  "hex": "#2d406a",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 106
  },
  "hsl": {
    "h": 221.311,
    "s": 40.397,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37684,
    "c": 0.07629,
    "h": 264.6
  },
  "luminance": 0.05265
}

Semantic roles & 50–950 ramp

primary
#2D406A
secondary
#9C8657
accent
#AB58D0
background
#F6F7F9
surface
#EBEDF1
border
#C6C8CB
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2D406A

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

Preview Lab → · Contrast checker → · Palette generator →

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