#2D4891#2D4891

#2D4891 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.125 H 266.0°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#2D4891
RGBrgb(45, 72, 145)
HSLhsl(224, 53%, 37%)
HSVhsv(224, 69%, 57%)
CMYKcmyk(69%, 50.3%, 0%, 43.1%)
CIE-LABlab(32.34, 15.32, -43.43)
CIE-LCHlch(32.34, 46.05, 289.42°)
OKLaboklab(42.22% -0.0088 -0.1245)
OKLCHoklch(42.22% 0.125 266)
XYZxyz(8.5086, 7.2361, 27.7309)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4891 #91762D
analogous
#2D7A91 #2D4891 #442D91
triadic
#2D4891 #912D48 #48912D
tetradic
#2D4891 #912D7A #91762D #2D9144
square
#2D4891 #912D7A #91762D #2D9144
split-complementary
#2D4891 #91442D #7A912D
monochromatic
#101A34 #1F3162 #2D4891 #3B5FC0 #6884D0

Accessibility & contrast

On white

8.58
#2D4891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2D4891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4891
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4891#FFFFFF#000000##FFFFFF
##2D48911.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205194
Deuteranopia (green-blind)
#034890
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d4891;
/* rgb */ color: rgb(45, 72, 145);
/* oklch */ color: oklch(42.2% 0.125 266.0);
Tailwind
colors: {
  custom: {
    50: '#727ab2',
    500: '#2d4891',
    950: '#000000',
  },
}
SCSS
$custom: #2d4891;
$custom-light: #727ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4891",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 145
  },
  "hsl": {
    "h": 223.8,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42215,
    "c": 0.12485,
    "h": 266
  },
  "luminance": 0.07237
}

Semantic roles & 50–950 ramp

primary
#2D4891
secondary
#B7A063
accent
#B54CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4891

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

Preview Lab → · Contrast checker → · Palette generator →

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