#2D416F#2D416F

#2D416F is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.2% C 0.083 H 265.0°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2D416F
RGBrgb(45, 65, 111)
HSLhsl(222, 42%, 31%)
HSVhsv(222, 59%, 44%)
CMYKcmyk(59.5%, 41.4%, 0%, 56.5%)
CIE-LABlab(28.08, 7.33, -29.08)
CIE-LCHlch(28.08, 29.99, 284.14°)
OKLaboklab(38.24% -0.0072 -0.0825)
OKLCHoklch(38.24% 0.083 265)
XYZxyz(5.8408, 5.4857, 15.7869)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D416F #6F5B2D
analogous
#2D626F #2D416F #3A2D6F
triadic
#2D416F #6F2D41 #416F2D
tetradic
#2D416F #6F2D62 #6F5B2D #2D6F3A
square
#2D416F #6F2D62 #6F5B2D #2D6F3A
split-complementary
#2D416F #6F3A2D #626F2D
monochromatic
#0A0E18 #1B2743 #2D416F #3F5A9B #5A78BC

Accessibility & contrast

On white

10.01
#2D416F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2D416F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D416F
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D416F#FFFFFF#000000##FFFFFF
##2D416F1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4571
Deuteranopia (green-blind)
#253F6E
Tritanopia (blue-blind)
#024B52
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d416f;
/* rgb */ color: rgb(45, 65, 111);
/* oklch */ color: oklch(38.2% 0.083 265.0);
Tailwind
colors: {
  custom: {
    50: '#6c7598',
    500: '#2d416f',
    950: '#000000',
  },
}
SCSS
$custom: #2d416f;
$custom-light: #6c7598;
$custom-dark: #000000;
JSON
{
  "hex": "#2d416f",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 111
  },
  "hsl": {
    "h": 221.818,
    "s": 42.308,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38242,
    "c": 0.08279,
    "h": 265
  },
  "luminance": 0.05486
}

Semantic roles & 50–950 ramp

primary
#2D416F
secondary
#A18A57
accent
#AC56D2
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2D416F

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

Preview Lab → · Contrast checker → · Palette generator →

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