#2D4D99#2D4D99

#2D4D99 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.130 H 264.5°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2D4D99
RGBrgb(45, 77, 153)
HSLhsl(222, 55%, 39%)
HSVhsv(222, 71%, 60%)
CMYKcmyk(70.6%, 49.7%, 0%, 40%)
CIE-LABlab(34.32, 15.00, -45.10)
CIE-LCHlch(34.32, 47.53, 288.39°)
OKLaboklab(43.9% -0.0125 -0.1294)
OKLCHoklch(43.9% 0.13 264.5)
XYZxyz(9.4838, 8.1646, 31.2069)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4D99 #99792D
analogous
#2D8399 #2D4D99 #432D99
triadic
#2D4D99 #992D4D #4D992D
tetradic
#2D4D99 #992D83 #99792D #2D9943
square
#2D4D99 #992D83 #99792D #2D9943
split-complementary
#2D4D99 #99432D #83992D
monochromatic
#111D3A #1F356A #2D4D99 #3D66C6 #6C8BD4

Accessibility & contrast

On white

7.98
#2D4D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2D4D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4D99
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4D99#FFFFFF#000000##FFFFFF
##2D4D991.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23569C
Deuteranopia (green-blind)
#034C97
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d4d99;
/* rgb */ color: rgb(45, 77, 153);
/* oklch */ color: oklch(43.9% 0.130 264.5);
Tailwind
colors: {
  custom: {
    50: '#737eb7',
    500: '#2d4d99',
    950: '#000000',
  },
}
SCSS
$custom: #2d4d99;
$custom-light: #737eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4d99",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 153
  },
  "hsl": {
    "h": 222.222,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43904,
    "c": 0.12996,
    "h": 264.5
  },
  "luminance": 0.08166
}

Semantic roles & 50–950 ramp

primary
#2D4D99
secondary
#BBA267
accent
#B24ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4D99

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

Preview Lab → · Contrast checker → · Palette generator →

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