#2D4199#2D4199

#2D4199 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.146 H 269.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#2D4199
RGBrgb(45, 65, 153)
HSLhsl(229, 55%, 39%)
HSVhsv(229, 71%, 60%)
CMYKcmyk(70.6%, 57.5%, 0%, 40%)
CIE-LABlab(30.97, 23.07, -50.53)
CIE-LCHlch(30.97, 55.54, 294.54°)
OKLaboklab(41.37% -0.0017 -0.1455)
OKLCHoklch(41.37% 0.146 269.3)
XYZxyz(8.7203, 6.6375, 30.9524)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4199 #99852D
analogous
#2D7799 #2D4199 #4F2D99
triadic
#2D4199 #992D41 #41992D
tetradic
#2D4199 #992D77 #99852D #2D994F
square
#2D4199 #992D77 #99852D #2D994F
split-complementary
#2D4199 #994F2D #77992D
monochromatic
#11193A #1F2D6A #2D4199 #3D57C6 #6C80D4

Accessibility & contrast

On white

9.02
#2D4199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2D4199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4199
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4199#FFFFFF#000000##FFFFFF
##2D41991.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d4199;
/* rgb */ color: rgb(45, 65, 153);
/* oklch */ color: oklch(41.4% 0.146 269.3);
Tailwind
colors: {
  custom: {
    50: '#7475b8',
    500: '#2d4199',
    950: '#000000',
  },
}
SCSS
$custom: #2d4199;
$custom-light: #7475b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4199",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 228.889,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41365,
    "c": 0.14553,
    "h": 269.3
  },
  "luminance": 0.06638
}

Semantic roles & 50–950 ramp

primary
#2D4199
secondary
#BBAB67
accent
#C24ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4199

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

Preview Lab → · Contrast checker → · Palette generator →

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