#2D4AA4#2D4AA4

#2D4AA4 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.1% C 0.149 H 266.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#2D4AA4
RGBrgb(45, 74, 164)
HSLhsl(225, 57%, 41%)
HSVhsv(225, 73%, 64%)
CMYKcmyk(72.6%, 54.9%, 0%, 35.7%)
CIE-LABlab(34.26, 21.19, -51.82)
CIE-LCHlch(34.26, 55.99, 292.24°)
OKLaboklab(44.11% -0.0087 -0.1492)
OKLCHoklch(44.11% 0.149 266.7)
XYZxyz(10.2295, 8.1347, 36.1458)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4AA4 #A4872D
analogous
#2D85A4 #2D4AA4 #4B2DA4
triadic
#2D4AA4 #A42D4A #4AA42D
tetradic
#2D4AA4 #A42D85 #A4872D #2DA44B
square
#2D4AA4 #A42D85 #A4872D #2DA44B
split-complementary
#2D4AA4 #A44B2D #85A42D
monochromatic
#131F44 #203474 #2D4AA4 #4364CB #738CD9

Accessibility & contrast

On white

7.99
#2D4AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2D4AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4AA4
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4AA4#FFFFFF#000000##FFFFFF
##2D4AA41.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d4aa4;
/* rgb */ color: rgb(45, 74, 164);
/* oklch */ color: oklch(44.1% 0.149 266.7);
Tailwind
colors: {
  custom: {
    50: '#767cc0',
    500: '#2d4aa4',
    950: '#000000',
  },
}
SCSS
$custom: #2d4aa4;
$custom-light: #767cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4aa4",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 164
  },
  "hsl": {
    "h": 225.378,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44106,
    "c": 0.14945,
    "h": 266.7
  },
  "luminance": 0.08136
}

Semantic roles & 50–950 ramp

primary
#2D4AA4
secondary
#C0AC6D
accent
#BB48E0
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2D4AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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