#2D4588#2D4588

#2D4588 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.9% C 0.116 H 266.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#2D4588
RGBrgb(45, 69, 136)
HSLhsl(224, 50%, 35%)
HSVhsv(224, 67%, 53%)
CMYKcmyk(66.9%, 49.3%, 0%, 46.7%)
CIE-LABlab(30.86, 13.93, -40.29)
CIE-LCHlch(30.86, 42.63, 289.08°)
OKLaboklab(40.89% -0.007 -0.1153)
OKLCHoklch(40.89% 0.116 266.5)
XYZxyz(7.6527, 6.5910, 24.1567)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4588 #88702D
analogous
#2D7288 #2D4588 #432D88
triadic
#2D4588 #882D45 #45882D
tetradic
#2D4588 #882D72 #88702D #2D8843
square
#2D4588 #882D72 #88702D #2D8843
split-complementary
#2D4588 #88432D #72882D
monochromatic
#0F162C #1E2E5A #2D4588 #3C5CB6 #647FCC

Accessibility & contrast

On white

9.06
#2D4588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2D4588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4588
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4588#FFFFFF#000000##FFFFFF
##2D45881.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224D8A
Deuteranopia (green-blind)
#0F4587
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d4588;
/* rgb */ color: rgb(45, 69, 136);
/* oklch */ color: oklch(40.9% 0.116 266.5);
Tailwind
colors: {
  custom: {
    50: '#7078ab',
    500: '#2d4588',
    950: '#000000',
  },
}
SCSS
$custom: #2d4588;
$custom-light: #7078ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4588",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 136
  },
  "hsl": {
    "h": 224.176,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40889,
    "c": 0.11554,
    "h": 266.5
  },
  "luminance": 0.06592
}

Semantic roles & 50–950 ramp

primary
#2D4588
secondary
#B29C5F
accent
#B54EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2D4588

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

Preview Lab → · Contrast checker → · Palette generator →

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