#2D4D9D#2D4D9D

#2D4D9D is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.2% C 0.136 H 264.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#2D4D9D
RGBrgb(45, 77, 157)
HSLhsl(223, 55%, 40%)
HSVhsv(223, 71%, 62%)
CMYKcmyk(71.3%, 51%, 0%, 38.4%)
CIE-LABlab(34.60, 16.52, -47.07)
CIE-LCHlch(34.60, 49.89, 289.34°)
OKLaboklab(44.2% -0.012 -0.1352)
OKLCHoklch(44.2% 0.136 264.9)
XYZxyz(9.8197, 8.2990, 32.9761)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4D9D #9D7D2D
analogous
#2D859D #2D4D9D #452D9D
triadic
#2D4D9D #9D2D4D #4D9D2D
tetradic
#2D4D9D #9D2D85 #9D7D2D #2D9D45
square
#2D4D9D #9D2D85 #9D7D2D #2D9D45
split-complementary
#2D4D9D #9D452D #859D2D
monochromatic
#121E3E #1F366D #2D4D9D #3F66C8 #6F8CD6

Accessibility & contrast

On white

7.89
#2D4D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2D4D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4D9D
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4D9D#FFFFFF#000000##FFFFFF
##2D4D9D1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E57A0
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d4d9d;
/* rgb */ color: rgb(45, 77, 157);
/* oklch */ color: oklch(44.2% 0.136 264.9);
Tailwind
colors: {
  custom: {
    50: '#747eba',
    500: '#2d4d9d',
    950: '#000000',
  },
}
SCSS
$custom: #2d4d9d;
$custom-light: #747eba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4d9d",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 157
  },
  "hsl": {
    "h": 222.857,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44201,
    "c": 0.1357,
    "h": 264.9
  },
  "luminance": 0.083
}

Semantic roles & 50–950 ramp

primary
#2D4D9D
secondary
#BDA569
accent
#B449DF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2D4D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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