#2D4585#2D4585

#2D4585 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.7% C 0.111 H 266.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#2D4585
RGBrgb(45, 69, 133)
HSLhsl(224, 49%, 35%)
HSVhsv(224, 66%, 52%)
CMYKcmyk(66.2%, 48.1%, 0%, 47.8%)
CIE-LABlab(30.66, 12.80, -38.75)
CIE-LCHlch(30.66, 40.81, 288.28°)
OKLaboklab(40.67% -0.0075 -0.1108)
OKLCHoklch(40.67% 0.111 266.1)
XYZxyz(7.4425, 6.5069, 23.0495)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4585 #856D2D
analogous
#2D7185 #2D4585 #412D85
triadic
#2D4585 #852D45 #45852D
tetradic
#2D4585 #852D71 #856D2D #2D8541
square
#2D4585 #852D71 #856D2D #2D8541
split-complementary
#2D4585 #85412D #71852D
monochromatic
#0E162A #1E2D57 #2D4585 #3C5DB3 #627FCA

Accessibility & contrast

On white

9.12
#2D4585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2D4585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4585
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4585#FFFFFF#000000##FFFFFF
##2D45851.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254C87
Deuteranopia (green-blind)
#154484
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d4585;
/* rgb */ color: rgb(45, 69, 133);
/* oklch */ color: oklch(40.7% 0.111 266.1);
Tailwind
colors: {
  custom: {
    50: '#7078a9',
    500: '#2d4585',
    950: '#000000',
  },
}
SCSS
$custom: #2d4585;
$custom-light: #7078a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4585",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 133
  },
  "hsl": {
    "h": 223.636,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40672,
    "c": 0.11107,
    "h": 266.1
  },
  "luminance": 0.06508
}

Semantic roles & 50–950 ramp

primary
#2D4585
secondary
#B09A5D
accent
#B34FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2D4585

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

Preview Lab → · Contrast checker → · Palette generator →

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