#2D4886#2D4886

#2D4886 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.4% C 0.109 H 264.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#2D4886
RGBrgb(45, 72, 134)
HSLhsl(222, 50%, 35%)
HSVhsv(222, 66%, 53%)
CMYKcmyk(66.4%, 46.3%, 0%, 47.5%)
CIE-LABlab(31.61, 11.15, -37.85)
CIE-LCHlch(31.61, 39.46, 286.42°)
OKLaboklab(41.42% -0.0105 -0.1081)
OKLCHoklch(41.42% 0.109 264.5)
XYZxyz(7.7011, 6.9131, 23.4782)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4886 #866B2D
analogous
#2D7486 #2D4886 #3F2D86
triadic
#2D4886 #862D48 #48862D
tetradic
#2D4886 #862D74 #866B2D #2D863F
square
#2D4886 #862D74 #866B2D #2D863F
split-complementary
#2D4886 #863F2D #74862D
monochromatic
#0E172A #1E2F58 #2D4886 #3C61B4 #6382CB

Accessibility & contrast

On white

8.81
#2D4886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2D4886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4886
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4886#FFFFFF#000000##FFFFFF
##2D48861.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4F88
Deuteranopia (green-blind)
#1B4785
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d4886;
/* rgb */ color: rgb(45, 72, 134);
/* oklch */ color: oklch(41.4% 0.109 264.5);
Tailwind
colors: {
  custom: {
    50: '#707aaa',
    500: '#2d4886',
    950: '#000000',
  },
}
SCSS
$custom: #2d4886;
$custom-light: #707aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4886",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 134
  },
  "hsl": {
    "h": 221.798,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41422,
    "c": 0.10863,
    "h": 264.5
  },
  "luminance": 0.06914
}

Semantic roles & 50–950 ramp

primary
#2D4886
secondary
#B1985E
accent
#AF4FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D4886

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

Preview Lab → · Contrast checker → · Palette generator →

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