#2D4B81#2D4B81

#2D4B81 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.8% C 0.097 H 261.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2D4B81
RGBrgb(45, 75, 129)
HSLhsl(219, 48%, 34%)
HSVhsv(219, 65%, 51%)
CMYKcmyk(65.1%, 41.9%, 0%, 49.4%)
CIE-LABlab(32.20, 7.26, -33.81)
CIE-LCHlch(32.20, 34.58, 282.12°)
OKLaboklab(41.78% -0.0148 -0.0962)
OKLCHoklch(41.78% 0.097 261.3)
XYZxyz(7.5593, 7.1743, 21.7510)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4B81 #81632D
analogous
#2D7581 #2D4B81 #392D81
triadic
#2D4B81 #812D4B #4B812D
tetradic
#2D4B81 #812D75 #81632D #2D8139
square
#2D4B81 #812D75 #81632D #2D8139
split-complementary
#2D4B81 #81392D #75812D
monochromatic
#0D1626 #1D3154 #2D4B81 #3D65AE #6185C8

Accessibility & contrast

On white

8.62
#2D4B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2D4B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4B81
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4B81#FFFFFF#000000##FFFFFF
##2D4B811.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335083
Deuteranopia (green-blind)
#274880
Tritanopia (blue-blind)
#00575F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d4b81;
/* rgb */ color: rgb(45, 75, 129);
/* oklch */ color: oklch(41.8% 0.097 261.3);
Tailwind
colors: {
  custom: {
    50: '#6f7ca6',
    500: '#2d4b81',
    950: '#000000',
  },
}
SCSS
$custom: #2d4b81;
$custom-light: #6f7ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4b81",
  "rgb": {
    "r": 45,
    "g": 75,
    "b": 129
  },
  "hsl": {
    "h": 218.571,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41778,
    "c": 0.09735,
    "h": 261.3
  },
  "luminance": 0.07175
}

Semantic roles & 50–950 ramp

primary
#2D4B81
secondary
#AE915C
accent
#A750D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2D4B81

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

Preview Lab → · Contrast checker → · Palette generator →

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