#2D4686#2D4686

#2D4686 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.0% C 0.111 H 265.7°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#2D4686
RGBrgb(45, 70, 134)
HSLhsl(223, 50%, 35%)
HSVhsv(223, 66%, 53%)
CMYKcmyk(66.4%, 47.8%, 0%, 47.5%)
CIE-LABlab(31.02, 12.50, -38.80)
CIE-LCHlch(31.02, 40.76, 287.86°)
OKLaboklab(40.97% -0.0084 -0.1109)
OKLCHoklch(40.97% 0.111 265.7)
XYZxyz(7.5739, 6.6587, 23.4358)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4686 #866D2D
analogous
#2D7386 #2D4686 #402D86
triadic
#2D4686 #862D46 #46862D
tetradic
#2D4686 #862D73 #866D2D #2D8640
square
#2D4686 #862D73 #866D2D #2D8640
split-complementary
#2D4686 #86402D #73862D
monochromatic
#0E162A #1E2E58 #2D4686 #3C5EB4 #6380CB

Accessibility & contrast

On white

9.01
#2D4686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2D4686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4686
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4686#FFFFFF#000000##FFFFFF
##2D46861.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264D88
Deuteranopia (green-blind)
#164585
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d4686;
/* rgb */ color: rgb(45, 70, 134);
/* oklch */ color: oklch(41.0% 0.111 265.7);
Tailwind
colors: {
  custom: {
    50: '#7079aa',
    500: '#2d4686',
    950: '#000000',
  },
}
SCSS
$custom: #2d4686;
$custom-light: #7079aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4686",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 134
  },
  "hsl": {
    "h": 223.146,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40969,
    "c": 0.11125,
    "h": 265.7
  },
  "luminance": 0.06659
}

Semantic roles & 50–950 ramp

primary
#2D4686
secondary
#B19A5E
accent
#B24FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D4686

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

Preview Lab → · Contrast checker → · Palette generator →

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