#2D406E#2D406E

#2D406E is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.083 H 265.7°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#2D406E
RGBrgb(45, 64, 110)
HSLhsl(222, 42%, 30%)
HSVhsv(222, 59%, 43%)
CMYKcmyk(59.1%, 41.8%, 0%, 56.9%)
CIE-LABlab(27.71, 7.64, -29.02)
CIE-LCHlch(27.71, 30.01, 284.75°)
OKLaboklab(37.94% -0.0062 -0.0823)
OKLCHoklch(37.94% 0.083 265.7)
XYZxyz(5.7291, 5.3500, 15.4796)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D406E #6E5B2D
analogous
#2D606E #2D406E #3B2D6E
triadic
#2D406E #6E2D40 #406E2D
tetradic
#2D406E #6E2D60 #6E5B2D #2D6E3B
square
#2D406E #6E2D60 #6E5B2D #2D6E3B
split-complementary
#2D406E #6E3B2D #606E2D
monochromatic
#090D17 #1B2743 #2D406E #3F5999 #5A76BB

Accessibility & contrast

On white

10.14
#2D406E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2D406E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D406E
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D406E#FFFFFF#000000##FFFFFF
##2D406E1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4570
Deuteranopia (green-blind)
#253F6D
Tritanopia (blue-blind)
#044A51
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d406e;
/* rgb */ color: rgb(45, 64, 110);
/* oklch */ color: oklch(37.9% 0.083 265.7);
Tailwind
colors: {
  custom: {
    50: '#6c7498',
    500: '#2d406e',
    950: '#000000',
  },
}
SCSS
$custom: #2d406e;
$custom-light: #6c7498;
$custom-dark: #000000;
JSON
{
  "hex": "#2d406e",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 110
  },
  "hsl": {
    "h": 222.462,
    "s": 41.935,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3794,
    "c": 0.08256,
    "h": 265.7
  },
  "luminance": 0.0535
}

Semantic roles & 50–950 ramp

primary
#2D406E
secondary
#A08A57
accent
#AE56D2
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2D406E

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

Preview Lab → · Contrast checker → · Palette generator →

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