#2D4E9B#2D4E9B

#2D4E9B is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.132 H 264.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#2D4E9B
RGBrgb(45, 78, 155)
HSLhsl(222, 55%, 39%)
HSVhsv(222, 71%, 61%)
CMYKcmyk(71%, 49.7%, 0%, 39.2%)
CIE-LABlab(34.75, 15.09, -45.63)
CIE-LCHlch(34.75, 48.06, 288.30°)
OKLaboklab(44.27% -0.0131 -0.1309)
OKLCHoklch(44.27% 0.132 264.3)
XYZxyz(9.7209, 8.3722, 32.1077)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E9B #9B7A2D
analogous
#2D859B #2D4E9B #432D9B
triadic
#2D4E9B #9B2D4E #4E9B2D
tetradic
#2D4E9B #9B2D85 #9B7A2D #2D9B43
square
#2D4E9B #9B2D85 #9B7A2D #2D9B43
split-complementary
#2D4E9B #9B432D #859B2D
monochromatic
#111E3C #1F366C #2D4E9B #3E67C7 #6E8DD5

Accessibility & contrast

On white

7.85
#2D4E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2D4E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E9B
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E9B#FFFFFF#000000##FFFFFF
##2D4E9B1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23579E
Deuteranopia (green-blind)
#024D99
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d4e9b;
/* rgb */ color: rgb(45, 78, 155);
/* oklch */ color: oklch(44.3% 0.132 264.3);
Tailwind
colors: {
  custom: {
    50: '#747fb9',
    500: '#2d4e9b',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e9b;
$custom-light: #747fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e9b",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 222,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4427,
    "c": 0.13156,
    "h": 264.3
  },
  "luminance": 0.08373
}

Semantic roles & 50–950 ramp

primary
#2D4E9B
secondary
#BCA368
accent
#B249DE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D4E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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