#2D4EA5#2D4EA5

#2D4EA5 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.146 H 265.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#2D4EA5
RGBrgb(45, 78, 165)
HSLhsl(224, 57%, 41%)
HSVhsv(224, 73%, 65%)
CMYKcmyk(72.7%, 52.7%, 0%, 35.3%)
CIE-LABlab(35.44, 18.90, -50.51)
CIE-LCHlch(35.44, 53.93, 290.51°)
OKLaboklab(45.02% -0.012 -0.1453)
OKLCHoklch(45.02% 0.146 265.3)
XYZxyz(10.5957, 8.7222, 36.7151)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4EA5 #A5842D
analogous
#2D8AA5 #2D4EA5 #482DA5
triadic
#2D4EA5 #A52D4E #4EA52D
tetradic
#2D4EA5 #A52D8A #A5842D #2DA548
square
#2D4EA5 #A52D8A #A5842D #2DA548
split-complementary
#2D4EA5 #A5482D #8AA52D
monochromatic
#132145 #203775 #2D4EA5 #4369CC #738FD9

Accessibility & contrast

On white

7.65
#2D4EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4EA5
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4EA5#FFFFFF#000000##FFFFFF
##2D4EA51.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1459A8
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d4ea5;
/* rgb */ color: rgb(45, 78, 165);
/* oklch */ color: oklch(45.0% 0.146 265.3);
Tailwind
colors: {
  custom: {
    50: '#767fc0',
    500: '#2d4ea5',
    950: '#000000',
  },
}
SCSS
$custom: #2d4ea5;
$custom-light: #767fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4ea5",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 223.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45024,
    "c": 0.14576,
    "h": 265.3
  },
  "luminance": 0.08723
}

Semantic roles & 50–950 ramp

primary
#2D4EA5
secondary
#C1AA6D
accent
#B647E0
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2D4EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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