#2D4888#2D4888

#2D4888 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.112 H 264.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#2D4888
RGBrgb(45, 72, 136)
HSLhsl(222, 50%, 35%)
HSVhsv(222, 67%, 53%)
CMYKcmyk(66.9%, 47.1%, 0%, 46.7%)
CIE-LABlab(31.74, 11.90, -38.87)
CIE-LCHlch(31.74, 40.66, 287.03°)
OKLaboklab(41.56% -0.0101 -0.1111)
OKLCHoklch(41.56% 0.112 264.8)
XYZxyz(7.8419, 6.9695, 24.2198)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4888 #886D2D
analogous
#2D7588 #2D4888 #402D88
triadic
#2D4888 #882D48 #48882D
tetradic
#2D4888 #882D75 #886D2D #2D8840
square
#2D4888 #882D75 #886D2D #2D8840
split-complementary
#2D4888 #88402D #75882D
monochromatic
#0F172C #1E305A #2D4888 #3C60B6 #6483CC

Accessibility & contrast

On white

8.77
#2D4888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2D4888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4888
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4888#FFFFFF#000000##FFFFFF
##2D48881.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294F8A
Deuteranopia (green-blind)
#184787
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d4888;
/* rgb */ color: rgb(45, 72, 136);
/* oklch */ color: oklch(41.6% 0.112 264.8);
Tailwind
colors: {
  custom: {
    50: '#707aab',
    500: '#2d4888',
    950: '#000000',
  },
}
SCSS
$custom: #2d4888;
$custom-light: #707aab;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4888",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 136
  },
  "hsl": {
    "h": 222.198,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41563,
    "c": 0.1116,
    "h": 264.8
  },
  "luminance": 0.0697
}

Semantic roles & 50–950 ramp

primary
#2D4888
secondary
#B2995F
accent
#B04EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D4888

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

Preview Lab → · Contrast checker → · Palette generator →

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