#2D4E8F#2D4E8F

#2D4E8F is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.4% C 0.114 H 262.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#2D4E8F
RGBrgb(45, 78, 143)
HSLhsl(220, 52%, 37%)
HSVhsv(220, 69%, 56%)
CMYKcmyk(68.5%, 45.5%, 0%, 43.9%)
CIE-LABlab(33.96, 10.53, -39.61)
CIE-LCHlch(33.96, 40.98, 284.89°)
OKLaboklab(43.42% -0.0151 -0.1132)
OKLCHoklch(43.42% 0.114 262.4)
XYZxyz(8.7628, 7.9890, 27.0615)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E8F #8F6E2D
analogous
#2D7F8F #2D4E8F #3D2D8F
triadic
#2D4E8F #8F2D4E #4E8F2D
tetradic
#2D4E8F #8F2D7F #8F6E2D #2D8F3D
square
#2D4E8F #8F2D7F #8F6E2D #2D8F3D
split-complementary
#2D4E8F #8F3D2D #7F8F2D
monochromatic
#101B32 #1E3560 #2D4E8F #3C67BE #678ACF

Accessibility & contrast

On white

8.08
#2D4E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2D4E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E8F
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E8F#FFFFFF#000000##FFFFFF
##2D4E8F1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5591
Deuteranopia (green-blind)
#1D4C8E
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d4e8f;
/* rgb */ color: rgb(45, 78, 143);
/* oklch */ color: oklch(43.4% 0.114 262.4);
Tailwind
colors: {
  custom: {
    50: '#717fb0',
    500: '#2d4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e8f;
$custom-light: #717fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e8f",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 219.796,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43415,
    "c": 0.1142,
    "h": 262.4
  },
  "luminance": 0.0799
}

Semantic roles & 50–950 ramp

primary
#2D4E8F
secondary
#B69A62
accent
#AB4CDC
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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