#2D4CA4#2D4CA4

#2D4CA4 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.5% C 0.147 H 266.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#2D4CA4
RGBrgb(45, 76, 164)
HSLhsl(224, 57%, 41%)
HSVhsv(224, 73%, 64%)
CMYKcmyk(72.6%, 53.7%, 0%, 35.7%)
CIE-LABlab(34.81, 19.85, -50.93)
CIE-LCHlch(34.81, 54.66, 291.30°)
OKLaboklab(44.52% -0.0103 -0.1465)
OKLCHoklch(44.52% 0.147 266)
XYZxyz(10.3651, 8.4060, 36.1910)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4CA4 #A4852D
analogous
#2D87A4 #2D4CA4 #492DA4
triadic
#2D4CA4 #A42D4C #4CA42D
tetradic
#2D4CA4 #A42D87 #A4852D #2DA449
square
#2D4CA4 #A42D87 #A4852D #2DA449
split-complementary
#2D4CA4 #A4492D #87A42D
monochromatic
#131F44 #203674 #2D4CA4 #4366CB #738DD9

Accessibility & contrast

On white

7.83
#2D4CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2D4CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4CA4
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4CA4#FFFFFF#000000##FFFFFF
##2D4CA41.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D58A7
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d4ca4;
/* rgb */ color: rgb(45, 76, 164);
/* oklch */ color: oklch(44.5% 0.147 266.0);
Tailwind
colors: {
  custom: {
    50: '#767dc0',
    500: '#2d4ca4',
    950: '#000000',
  },
}
SCSS
$custom: #2d4ca4;
$custom-light: #767dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4ca4",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 164
  },
  "hsl": {
    "h": 224.37,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44524,
    "c": 0.1469,
    "h": 266
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#2D4CA4
secondary
#C0AA6D
accent
#B848E0
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2D4CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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