#2D4D91#2D4D91

#2D4D91 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.3% C 0.118 H 263.3°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2D4D91
RGBrgb(45, 77, 145)
HSLhsl(221, 53%, 37%)
HSVhsv(221, 69%, 57%)
CMYKcmyk(69%, 46.9%, 0%, 43.1%)
CIE-LABlab(33.79, 11.96, -41.10)
CIE-LCHlch(33.79, 42.80, 286.22°)
OKLaboklab(43.33% -0.0137 -0.1176)
OKLCHoklch(43.33% 0.118 263.3)
XYZxyz(8.8451, 7.9091, 27.8430)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4D91 #91712D
analogous
#2D7F91 #2D4D91 #3F2D91
triadic
#2D4D91 #912D4D #4D912D
tetradic
#2D4D91 #912D7F #91712D #2D913F
square
#2D4D91 #912D7F #91712D #2D913F
split-complementary
#2D4D91 #913F2D #7F912D
monochromatic
#101B34 #1F3462 #2D4D91 #3B66C0 #6889D0

Accessibility & contrast

On white

8.13
#2D4D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2D4D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4D91
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4D91#FFFFFF#000000##FFFFFF
##2D4D911.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5494
Deuteranopia (green-blind)
#184B90
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d4d91;
/* rgb */ color: rgb(45, 77, 145);
/* oklch */ color: oklch(43.3% 0.118 263.3);
Tailwind
colors: {
  custom: {
    50: '#727eb2',
    500: '#2d4d91',
    950: '#000000',
  },
}
SCSS
$custom: #2d4d91;
$custom-light: #727eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4d91",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 145
  },
  "hsl": {
    "h": 220.8,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43327,
    "c": 0.11838,
    "h": 263.3
  },
  "luminance": 0.0791
}

Semantic roles & 50–950 ramp

primary
#2D4D91
secondary
#B79C63
accent
#AE4CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4D91

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

Preview Lab → · Contrast checker → · Palette generator →

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