#2D4885#2D4885

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

Color values

HEX#2D4885
RGBrgb(45, 72, 133)
HSLhsl(222, 49%, 35%)
HSVhsv(222, 66%, 52%)
CMYKcmyk(66.2%, 45.9%, 0%, 47.8%)
CIE-LABlab(31.54, 10.77, -37.33)
CIE-LCHlch(31.54, 38.86, 286.10°)
OKLaboklab(41.35% -0.0107 -0.1066)
OKLCHoklch(41.35% 0.107 264.3)
XYZxyz(7.6317, 6.8854, 23.1126)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4885 #856A2D
analogous
#2D7485 #2D4885 #3E2D85
triadic
#2D4885 #852D48 #48852D
tetradic
#2D4885 #852D74 #856A2D #2D853E
square
#2D4885 #852D74 #856A2D #2D853E
split-complementary
#2D4885 #853E2D #74852D
monochromatic
#0E162A #1E2F57 #2D4885 #3C61B3 #6282CA

Accessibility & contrast

On white

8.83
#2D4885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4885
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4885#FFFFFF#000000##FFFFFF
##2D48851.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d4885;
/* rgb */ color: rgb(45, 72, 133);
/* oklch */ color: oklch(41.4% 0.107 264.3);
Tailwind
colors: {
  custom: {
    50: '#707aa9',
    500: '#2d4885',
    950: '#000000',
  },
}
SCSS
$custom: #2d4885;
$custom-light: #707aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4885",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 133
  },
  "hsl": {
    "h": 221.591,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41352,
    "c": 0.10713,
    "h": 264.3
  },
  "luminance": 0.06886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D4885

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

Preview Lab → · Contrast checker → · Palette generator →

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