#2D4C9D#2D4C9D

#2D4C9D is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.0% C 0.137 H 265.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2D4C9D
RGBrgb(45, 76, 157)
HSLhsl(223, 55%, 40%)
HSVhsv(223, 71%, 62%)
CMYKcmyk(71.3%, 51.6%, 0%, 38.4%)
CIE-LABlab(34.31, 17.19, -47.53)
CIE-LCHlch(34.31, 50.54, 289.88°)
OKLaboklab(43.99% -0.0111 -0.1365)
OKLCHoklch(43.99% 0.137 265.4)
XYZxyz(9.7503, 8.1601, 32.9530)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4C9D #9D7E2D
analogous
#2D849D #2D4C9D #462D9D
triadic
#2D4C9D #9D2D4C #4C9D2D
tetradic
#2D4C9D #9D2D84 #9D7E2D #2D9D46
square
#2D4C9D #9D2D84 #9D7E2D #2D9D46
split-complementary
#2D4C9D #9D462D #849D2D
monochromatic
#121E3E #1F356D #2D4C9D #3F65C8 #6F8BD6

Accessibility & contrast

On white

7.98
#2D4C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2D4C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4C9D
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4C9D#FFFFFF#000000##FFFFFF
##2D4C9D1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B56A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d4c9d;
/* rgb */ color: rgb(45, 76, 157);
/* oklch */ color: oklch(44.0% 0.137 265.4);
Tailwind
colors: {
  custom: {
    50: '#747dba',
    500: '#2d4c9d',
    950: '#000000',
  },
}
SCSS
$custom: #2d4c9d;
$custom-light: #747dba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4c9d",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 157
  },
  "hsl": {
    "h": 223.393,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43985,
    "c": 0.13698,
    "h": 265.4
  },
  "luminance": 0.08161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D4C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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