#2D4CA1#2D4CA1

#2D4CA1 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.143 H 265.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#2D4CA1
RGBrgb(45, 76, 161)
HSLhsl(224, 56%, 40%)
HSVhsv(224, 72%, 63%)
CMYKcmyk(72%, 52.8%, 0%, 36.9%)
CIE-LABlab(34.60, 18.71, -49.48)
CIE-LCHlch(34.60, 52.90, 290.72°)
OKLaboklab(44.29% -0.0106 -0.1423)
OKLCHoklch(44.29% 0.143 265.7)
XYZxyz(10.0974, 8.2989, 34.7810)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4CA1 #A1822D
analogous
#2D86A1 #2D4CA1 #482DA1
triadic
#2D4CA1 #A12D4C #4CA12D
tetradic
#2D4CA1 #A12D86 #A1822D #2DA148
square
#2D4CA1 #A12D86 #A1822D #2DA148
split-complementary
#2D4CA1 #A1482D #86A12D
monochromatic
#121F41 #203571 #2D4CA1 #4166CA #718CD7

Accessibility & contrast

On white

7.89
#2D4CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2D4CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4CA1
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4CA1#FFFFFF#000000##FFFFFF
##2D4CA11.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1457A4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d4ca1;
/* rgb */ color: rgb(45, 76, 161);
/* oklch */ color: oklch(44.3% 0.143 265.7);
Tailwind
colors: {
  custom: {
    50: '#757dbd',
    500: '#2d4ca1',
    950: '#000000',
  },
}
SCSS
$custom: #2d4ca1;
$custom-light: #757dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4ca1",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 223.966,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44291,
    "c": 0.14267,
    "h": 265.7
  },
  "luminance": 0.083
}

Semantic roles & 50–950 ramp

primary
#2D4CA1
secondary
#BFA86B
accent
#B748E0
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2D4CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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