#2D4EA4#2D4EA4

#2D4EA4 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.9% C 0.144 H 265.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#2D4EA4
RGBrgb(45, 78, 164)
HSLhsl(223, 57%, 41%)
HSVhsv(223, 73%, 64%)
CMYKcmyk(72.6%, 52.4%, 0%, 35.7%)
CIE-LABlab(35.37, 18.52, -50.03)
CIE-LCHlch(35.37, 53.34, 290.31°)
OKLaboklab(44.95% -0.0121 -0.1438)
OKLCHoklch(44.95% 0.144 265.2)
XYZxyz(10.5051, 8.6859, 36.2377)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4EA4 #A4832D
analogous
#2D89A4 #2D4EA4 #472DA4
triadic
#2D4EA4 #A42D4E #4EA42D
tetradic
#2D4EA4 #A42D89 #A4832D #2DA447
square
#2D4EA4 #A42D89 #A4832D #2DA447
split-complementary
#2D4EA4 #A4472D #89A42D
monochromatic
#132044 #203774 #2D4EA4 #4369CB #738FD9

Accessibility & contrast

On white

7.67
#2D4EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2D4EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4EA4
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4EA4#FFFFFF#000000##FFFFFF
##2D4EA41.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1659A7
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d4ea4;
/* rgb */ color: rgb(45, 78, 164);
/* oklch */ color: oklch(44.9% 0.144 265.2);
Tailwind
colors: {
  custom: {
    50: '#767fc0',
    500: '#2d4ea4',
    950: '#000000',
  },
}
SCSS
$custom: #2d4ea4;
$custom-light: #767fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4ea4",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 223.361,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44947,
    "c": 0.14435,
    "h": 265.2
  },
  "luminance": 0.08687
}

Semantic roles & 50–950 ramp

primary
#2D4EA4
secondary
#C0A96D
accent
#B648E0
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2D4EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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