#2D4399#2D4399

#2D4399 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.143 H 268.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#2D4399
RGBrgb(45, 67, 153)
HSLhsl(228, 55%, 39%)
HSVhsv(228, 71%, 60%)
CMYKcmyk(70.6%, 56.2%, 0%, 40%)
CIE-LABlab(31.51, 21.72, -49.64)
CIE-LCHlch(31.51, 54.19, 293.63°)
OKLaboklab(41.77% -0.0034 -0.1429)
OKLCHoklch(41.77% 0.143 268.6)
XYZxyz(8.8371, 6.8712, 30.9914)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4399 #99832D
analogous
#2D7999 #2D4399 #4D2D99
triadic
#2D4399 #992D43 #43992D
tetradic
#2D4399 #992D79 #99832D #2D994D
square
#2D4399 #992D79 #99832D #2D994D
split-complementary
#2D4399 #994D2D #79992D
monochromatic
#111A3A #1F2E6A #2D4399 #3D59C6 #6C82D4

Accessibility & contrast

On white

8.84
#2D4399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2D4399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4399
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4399#FFFFFF#000000##FFFFFF
##2D43991.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d4399;
/* rgb */ color: rgb(45, 67, 153);
/* oklch */ color: oklch(41.8% 0.143 268.6);
Tailwind
colors: {
  custom: {
    50: '#7476b8',
    500: '#2d4399',
    950: '#000000',
  },
}
SCSS
$custom: #2d4399;
$custom-light: #7476b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4399",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 153
  },
  "hsl": {
    "h": 227.778,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41774,
    "c": 0.14293,
    "h": 268.6
  },
  "luminance": 0.06872
}

Semantic roles & 50–950 ramp

primary
#2D4399
secondary
#BBAA67
accent
#C04ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4399

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

Preview Lab → · Contrast checker → · Palette generator →

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