#2D4D9E#2D4D9E

#2D4D9E is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.137 H 265.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#2D4D9E
RGBrgb(45, 77, 158)
HSLhsl(223, 56%, 40%)
HSVhsv(223, 72%, 62%)
CMYKcmyk(71.5%, 51.3%, 0%, 38%)
CIE-LABlab(34.67, 16.90, -47.56)
CIE-LCHlch(34.67, 50.48, 289.56°)
OKLaboklab(44.28% -0.0118 -0.1366)
OKLCHoklch(44.28% 0.137 265)
XYZxyz(9.9055, 8.3332, 33.4276)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4D9E #9E7E2D
analogous
#2D859E #2D4D9E #462D9E
triadic
#2D4D9E #9E2D4D #4D9E2D
tetradic
#2D4D9E #9E2D85 #9E7E2D #2D9E46
square
#2D4D9E #9E2D85 #9E7E2D #2D9E46
split-complementary
#2D4D9E #9E462D #859E2D
monochromatic
#121F3F #1F366E #2D4D9E #4066C9 #6F8CD6

Accessibility & contrast

On white

7.87
#2D4D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4D9E
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4D9E#FFFFFF#000000##FFFFFF
##2D4D9E1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D57A1
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d4d9e;
/* rgb */ color: rgb(45, 77, 158);
/* oklch */ color: oklch(44.3% 0.137 265.0);
Tailwind
colors: {
  custom: {
    50: '#757ebb',
    500: '#2d4d9e',
    950: '#000000',
  },
}
SCSS
$custom: #2d4d9e;
$custom-light: #757ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4d9e",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 158
  },
  "hsl": {
    "h": 223.009,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44276,
    "c": 0.13712,
    "h": 265
  },
  "luminance": 0.08334
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D4D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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