#2D416E#2D416E

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

Color values

HEX#2D416E
RGBrgb(45, 65, 110)
HSLhsl(222, 42%, 30%)
HSVhsv(222, 59%, 43%)
CMYKcmyk(59.1%, 40.9%, 0%, 56.9%)
CIE-LABlab(28.02, 6.96, -28.53)
CIE-LCHlch(28.02, 29.37, 283.71°)
OKLaboklab(38.18% -0.0074 -0.0809)
OKLCHoklch(38.18% 0.081 264.7)
XYZxyz(5.7860, 5.4638, 15.4985)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D416E #6E5A2D
analogous
#2D616E #2D416E #392D6E
triadic
#2D416E #6E2D41 #416E2D
tetradic
#2D416E #6E2D61 #6E5A2D #2D6E39
square
#2D416E #6E2D61 #6E5A2D #2D6E39
split-complementary
#2D416E #6E392D #616E2D
monochromatic
#090E17 #1B2743 #2D416E #3F5B99 #5A78BB

Accessibility & contrast

On white

10.03
#2D416E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2D416E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D416E
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D416E#FFFFFF#000000##FFFFFF
##2D416E1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4570
Deuteranopia (green-blind)
#263F6D
Tritanopia (blue-blind)
#034B52
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d416e;
/* rgb */ color: rgb(45, 65, 110);
/* oklch */ color: oklch(38.2% 0.081 264.7);
Tailwind
colors: {
  custom: {
    50: '#6c7598',
    500: '#2d416e',
    950: '#000000',
  },
}
SCSS
$custom: #2d416e;
$custom-light: #6c7598;
$custom-dark: #000000;
JSON
{
  "hex": "#2d416e",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 110
  },
  "hsl": {
    "h": 221.538,
    "s": 41.935,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38178,
    "c": 0.08123,
    "h": 264.7
  },
  "luminance": 0.05464
}

Semantic roles & 50–950 ramp

primary
#2D416E
secondary
#A08957
accent
#AC56D2
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2D416E

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

Preview Lab → · Contrast checker → · Palette generator →

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