#2D4299#2D4299

#2D4299 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.144 H 269.0°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2D4299
RGBrgb(45, 66, 153)
HSLhsl(228, 55%, 39%)
HSVhsv(228, 71%, 60%)
CMYKcmyk(70.6%, 56.9%, 0%, 40%)
CIE-LABlab(31.24, 22.39, -50.09)
CIE-LCHlch(31.24, 54.86, 294.09°)
OKLaboklab(41.57% -0.0026 -0.1442)
OKLCHoklch(41.57% 0.144 269)
XYZxyz(8.7782, 6.7534, 30.9717)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4299 #99842D
analogous
#2D7899 #2D4299 #4E2D99
triadic
#2D4299 #992D42 #42992D
tetradic
#2D4299 #992D78 #99842D #2D994E
square
#2D4299 #992D78 #99842D #2D994E
split-complementary
#2D4299 #994E2D #78992D
monochromatic
#11193A #1F2E6A #2D4299 #3D58C6 #6C81D4

Accessibility & contrast

On white

8.93
#2D4299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2D4299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4299
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4299#FFFFFF#000000##FFFFFF
##2D42991.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d4299;
/* rgb */ color: rgb(45, 66, 153);
/* oklch */ color: oklch(41.6% 0.144 269.0);
Tailwind
colors: {
  custom: {
    50: '#7476b8',
    500: '#2d4299',
    950: '#000000',
  },
}
SCSS
$custom: #2d4299;
$custom-light: #7476b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4299",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 153
  },
  "hsl": {
    "h": 228.333,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41569,
    "c": 0.14423,
    "h": 269
  },
  "luminance": 0.06754
}

Semantic roles & 50–950 ramp

primary
#2D4299
secondary
#BBAB67
accent
#C14ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4299

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

Preview Lab → · Contrast checker → · Palette generator →

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