#2D4C8F#2D4C8F

#2D4C8F is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.0% C 0.117 H 263.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#2D4C8F
RGBrgb(45, 76, 143)
HSLhsl(221, 52%, 37%)
HSVhsv(221, 69%, 56%)
CMYKcmyk(68.5%, 46.9%, 0%, 43.9%)
CIE-LABlab(33.37, 11.87, -40.55)
CIE-LCHlch(33.37, 42.25, 286.31°)
OKLaboklab(42.96% -0.0131 -0.116)
OKLCHoklch(42.96% 0.117 263.6)
XYZxyz(8.6228, 7.7091, 27.0149)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4C8F #8F702D
analogous
#2D7D8F #2D4C8F #3F2D8F
triadic
#2D4C8F #8F2D4C #4C8F2D
tetradic
#2D4C8F #8F2D7D #8F702D #2D8F3F
square
#2D4C8F #8F2D7D #8F702D #2D8F3F
split-complementary
#2D4C8F #8F3F2D #7D8F2D
monochromatic
#101B32 #1E3360 #2D4C8F #3C65BE #6788CF

Accessibility & contrast

On white

8.26
#2D4C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2D4C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4C8F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4C8F#FFFFFF#000000##FFFFFF
##2D4C8F1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5392
Deuteranopia (green-blind)
#184A8E
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d4c8f;
/* rgb */ color: rgb(45, 76, 143);
/* oklch */ color: oklch(43.0% 0.117 263.6);
Tailwind
colors: {
  custom: {
    50: '#717db0',
    500: '#2d4c8f',
    950: '#000000',
  },
}
SCSS
$custom: #2d4c8f;
$custom-light: #717db0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4c8f",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 221.02,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42961,
    "c": 0.11674,
    "h": 263.6
  },
  "luminance": 0.0771
}

Semantic roles & 50–950 ramp

primary
#2D4C8F
secondary
#B69B62
accent
#AE4CDC
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D4C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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