#2D4CA2#2D4CA2

#2D4CA2 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.4% C 0.144 H 265.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#2D4CA2
RGBrgb(45, 76, 162)
HSLhsl(224, 57%, 41%)
HSVhsv(224, 72%, 64%)
CMYKcmyk(72.2%, 53.1%, 0%, 36.5%)
CIE-LABlab(34.67, 19.09, -49.96)
CIE-LCHlch(34.67, 53.49, 290.91°)
OKLaboklab(44.37% -0.0105 -0.1437)
OKLCHoklch(44.37% 0.144 265.8)
XYZxyz(10.1859, 8.3343, 35.2473)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4CA2 #A2832D
analogous
#2D86A2 #2D4CA2 #492DA2
triadic
#2D4CA2 #A22D4C #4CA22D
tetradic
#2D4CA2 #A22D86 #A2832D #2DA249
square
#2D4CA2 #A22D86 #A2832D #2DA249
split-complementary
#2D4CA2 #A2492D #86A22D
monochromatic
#121F42 #203672 #2D4CA2 #4266CA #728DD8

Accessibility & contrast

On white

7.87
#2D4CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2D4CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4CA2
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4CA2#FFFFFF#000000##FFFFFF
##2D4CA21.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1257A5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d4ca2;
/* rgb */ color: rgb(45, 76, 162);
/* oklch */ color: oklch(44.4% 0.144 265.8);
Tailwind
colors: {
  custom: {
    50: '#757dbe',
    500: '#2d4ca2',
    950: '#000000',
  },
}
SCSS
$custom: #2d4ca2;
$custom-light: #757dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4ca2",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 224.103,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44368,
    "c": 0.14408,
    "h": 265.8
  },
  "luminance": 0.08335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D4CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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