#2D416A#2D416A

#2D416A is a dark, moderate blue. Relative luminance 0.054; OKLCH L 37.9% C 0.075 H 263.5°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#2D416A
RGBrgb(45, 65, 106)
HSLhsl(220, 40%, 30%)
HSVhsv(220, 58%, 42%)
CMYKcmyk(57.5%, 38.7%, 0%, 58.4%)
CIE-LABlab(27.79, 5.51, -26.35)
CIE-LCHlch(27.79, 26.92, 281.81°)
OKLaboklab(37.92% -0.0085 -0.0745)
OKLCHoklch(37.92% 0.075 263.5)
XYZxyz(5.5731, 5.3787, 14.3774)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D416A #6A562D
analogous
#2D606A #2D416A #382D6A
triadic
#2D416A #6A2D41 #416A2D
tetradic
#2D416A #6A2D60 #6A562D #2D6A38
square
#2D416A #6A2D60 #6A562D #2D6A38
split-complementary
#2D416A #6A382D #606A2D
monochromatic
#090D15 #1B273F #2D416A #3F5B95 #5978B8

Accessibility & contrast

On white

10.12
#2D416A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2D416A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D416A
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D416A#FFFFFF#000000##FFFFFF
##2D416A1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30456C
Deuteranopia (green-blind)
#293F69
Tritanopia (blue-blind)
#0A4A50
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d416a;
/* rgb */ color: rgb(45, 65, 106);
/* oklch */ color: oklch(37.9% 0.075 263.5);
Tailwind
colors: {
  custom: {
    50: '#6b7595',
    500: '#2d416a',
    950: '#000000',
  },
}
SCSS
$custom: #2d416a;
$custom-light: #6b7595;
$custom-dark: #000000;
JSON
{
  "hex": "#2d416a",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 106
  },
  "hsl": {
    "h": 220.328,
    "s": 40.397,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37925,
    "c": 0.07499,
    "h": 263.5
  },
  "luminance": 0.05379
}

Semantic roles & 50–950 ramp

primary
#2D416A
secondary
#9C8557
accent
#A958D0
background
#F6F7F9
surface
#EBEDF1
border
#C6C8CB
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2D416A

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

Preview Lab → · Contrast checker → · Palette generator →

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