#2D4C99#2D4C99

#2D4C99 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.7% C 0.131 H 264.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#2D4C99
RGBrgb(45, 76, 153)
HSLhsl(223, 55%, 39%)
HSVhsv(223, 71%, 60%)
CMYKcmyk(70.6%, 50.3%, 0%, 40%)
CIE-LABlab(34.04, 15.67, -45.56)
CIE-LCHlch(34.04, 48.18, 288.98°)
OKLaboklab(43.69% -0.0116 -0.1307)
OKLCHoklch(43.69% 0.131 264.9)
XYZxyz(9.4144, 8.0257, 31.1838)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4C99 #997A2D
analogous
#2D8299 #2D4C99 #442D99
triadic
#2D4C99 #992D4C #4C992D
tetradic
#2D4C99 #992D82 #997A2D #2D9944
square
#2D4C99 #992D82 #997A2D #2D9944
split-complementary
#2D4C99 #99442D #82992D
monochromatic
#111D3A #1F356A #2D4C99 #3D64C6 #6C8AD4

Accessibility & contrast

On white

8.06
#2D4C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2D4C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4C99
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4C99#FFFFFF#000000##FFFFFF
##2D4C991.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20559C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d4c99;
/* rgb */ color: rgb(45, 76, 153);
/* oklch */ color: oklch(43.7% 0.131 264.9);
Tailwind
colors: {
  custom: {
    50: '#737db8',
    500: '#2d4c99',
    950: '#000000',
  },
}
SCSS
$custom: #2d4c99;
$custom-light: #737db8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4c99",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 153
  },
  "hsl": {
    "h": 222.778,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43685,
    "c": 0.13125,
    "h": 264.9
  },
  "luminance": 0.08027
}

Semantic roles & 50–950 ramp

primary
#2D4C99
secondary
#BBA367
accent
#B34ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4C99

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

Preview Lab → · Contrast checker → · Palette generator →

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