#2D4EA9#2D4EA9

#2D4EA9 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.3% C 0.151 H 265.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#2D4EA9
RGBrgb(45, 78, 169)
HSLhsl(224, 58%, 42%)
HSVhsv(224, 73%, 66%)
CMYKcmyk(73.4%, 53.8%, 0%, 33.7%)
CIE-LABlab(35.73, 20.42, -52.43)
CIE-LCHlch(35.73, 56.27, 291.28°)
OKLaboklab(45.34% -0.0116 -0.1509)
OKLCHoklch(45.34% 0.151 265.6)
XYZxyz(10.9655, 8.8701, 38.6626)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4EA9 #A9882D
analogous
#2D8CA9 #2D4EA9 #4A2DA9
triadic
#2D4EA9 #A92D4E #4EA92D
tetradic
#2D4EA9 #A92D8C #A9882D #2DA94A
square
#2D4EA9 #A92D8C #A9882D #2DA94A
split-complementary
#2D4EA9 #A94A2D #8CA92D
monochromatic
#132148 #203879 #2D4EA9 #466ACE #7691DA

Accessibility & contrast

On white

7.57
#2D4EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2D4EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4EA9
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4EA9#FFFFFF#000000##FFFFFF
##2D4EA91.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5AAC
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d4ea9;
/* rgb */ color: rgb(45, 78, 169);
/* oklch */ color: oklch(45.3% 0.151 265.6);
Tailwind
colors: {
  custom: {
    50: '#777fc3',
    500: '#2d4ea9',
    950: '#000000',
  },
}
SCSS
$custom: #2d4ea9;
$custom-light: #777fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4ea9",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 224.032,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45335,
    "c": 0.15136,
    "h": 265.6
  },
  "luminance": 0.08871
}

Semantic roles & 50–950 ramp

primary
#2D4EA9
secondary
#C2AC6F
accent
#B847E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2D4EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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