#2D4E99#2D4E99

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

Color values

HEX#2D4E99
RGBrgb(45, 78, 153)
HSLhsl(222, 55%, 39%)
HSVhsv(222, 71%, 60%)
CMYKcmyk(70.6%, 49%, 0%, 40%)
CIE-LABlab(34.61, 14.33, -44.64)
CIE-LCHlch(34.61, 46.88, 287.80°)
OKLaboklab(44.12% -0.0134 -0.128)
OKLCHoklch(44.12% 0.129 264)
XYZxyz(9.5543, 8.3056, 31.2304)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E99 #99782D
analogous
#2D8499 #2D4E99 #422D99
triadic
#2D4E99 #992D4E #4E992D
tetradic
#2D4E99 #992D84 #99782D #2D9942
square
#2D4E99 #992D84 #99782D #2D9942
split-complementary
#2D4E99 #99422D #84992D
monochromatic
#111E3A #1F366A #2D4E99 #3D67C6 #6C8CD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D4E99#FFFFFF#000000##FFFFFF
##2D4E991.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)
#25579C
Deuteranopia (green-blind)
#094D97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d4e99;
/* rgb */ color: rgb(45, 78, 153);
/* oklch */ color: oklch(44.1% 0.129 264.0);
Tailwind
colors: {
  custom: {
    50: '#737fb7',
    500: '#2d4e99',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e99;
$custom-light: #737fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e99",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 221.667,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44124,
    "c": 0.12868,
    "h": 264
  },
  "luminance": 0.08307
}

Semantic roles & 50–950 ramp

primary
#2D4E99
secondary
#BBA167
accent
#B14ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D4E99

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

Preview Lab → · Contrast checker → · Palette generator →

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