#2D4486#2D4486

#2D4486 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.5% C 0.114 H 266.8°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#2D4486
RGBrgb(45, 68, 134)
HSLhsl(224, 50%, 35%)
HSVhsv(224, 66%, 53%)
CMYKcmyk(66.4%, 49.3%, 0%, 47.5%)
CIE-LABlab(30.43, 13.86, -39.74)
CIE-LCHlch(30.43, 42.08, 289.23°)
OKLaboklab(40.52% -0.0063 -0.1137)
OKLCHoklch(40.52% 0.114 266.8)
XYZxyz(7.4509, 6.4127, 23.3947)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4486 #866F2D
analogous
#2D7186 #2D4486 #422D86
triadic
#2D4486 #862D44 #44862D
tetradic
#2D4486 #862D71 #866F2D #2D8642
square
#2D4486 #862D71 #866F2D #2D8642
split-complementary
#2D4486 #86422D #71862D
monochromatic
#0E162A #1E2D58 #2D4486 #3C5BB4 #637ECB

Accessibility & contrast

On white

9.20
#2D4486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2D4486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4486
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4486#FFFFFF#000000##FFFFFF
##2D44861.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C88
Deuteranopia (green-blind)
#104485
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d4486;
/* rgb */ color: rgb(45, 68, 134);
/* oklch */ color: oklch(40.5% 0.114 266.8);
Tailwind
colors: {
  custom: {
    50: '#7077aa',
    500: '#2d4486',
    950: '#000000',
  },
}
SCSS
$custom: #2d4486;
$custom-light: #7077aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4486",
  "rgb": {
    "r": 45,
    "g": 68,
    "b": 134
  },
  "hsl": {
    "h": 224.494,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40521,
    "c": 0.1139,
    "h": 266.8
  },
  "luminance": 0.06413
}

Semantic roles & 50–950 ramp

primary
#2D4486
secondary
#B19C5E
accent
#B54FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2D4486

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

Preview Lab → · Contrast checker → · Palette generator →

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