#2D4D9B#2D4D9B

#2D4D9B is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.1% C 0.133 H 264.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#2D4D9B
RGBrgb(45, 77, 155)
HSLhsl(223, 55%, 39%)
HSVhsv(223, 71%, 61%)
CMYKcmyk(71%, 50.3%, 0%, 39.2%)
CIE-LABlab(34.46, 15.76, -46.09)
CIE-LCHlch(34.46, 48.71, 288.88°)
OKLaboklab(44.05% -0.0122 -0.1323)
OKLCHoklch(44.05% 0.133 264.7)
XYZxyz(9.6504, 8.2312, 32.0842)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4D9B #9B7B2D
analogous
#2D849B #2D4D9B #442D9B
triadic
#2D4D9B #9B2D4D #4D9B2D
tetradic
#2D4D9B #9B2D84 #9B7B2D #2D9B44
square
#2D4D9B #9B2D84 #9B7B2D #2D9B44
split-complementary
#2D4D9B #9B442D #849B2D
monochromatic
#111E3C #1F356C #2D4D9B #3E66C7 #6E8CD5

Accessibility & contrast

On white

7.94
#2D4D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2D4D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4D9B
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4D9B#FFFFFF#000000##FFFFFF
##2D4D9B1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21569E
Deuteranopia (green-blind)
#004C99
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d4d9b;
/* rgb */ color: rgb(45, 77, 155);
/* oklch */ color: oklch(44.1% 0.133 264.7);
Tailwind
colors: {
  custom: {
    50: '#747eb9',
    500: '#2d4d9b',
    950: '#000000',
  },
}
SCSS
$custom: #2d4d9b;
$custom-light: #747eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4d9b",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 155
  },
  "hsl": {
    "h": 222.545,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44052,
    "c": 0.13283,
    "h": 264.7
  },
  "luminance": 0.08232
}

Semantic roles & 50–950 ramp

primary
#2D4D9B
secondary
#BCA368
accent
#B349DE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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