#2D4488#2D4488

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

Color values

HEX#2D4488
RGBrgb(45, 68, 136)
HSLhsl(225, 50%, 35%)
HSVhsv(225, 67%, 53%)
CMYKcmyk(66.9%, 50%, 0%, 46.7%)
CIE-LABlab(30.57, 14.61, -40.75)
CIE-LCHlch(30.57, 43.30, 289.73°)
OKLaboklab(40.67% -0.006 -0.1167)
OKLCHoklch(40.67% 0.117 267.1)
XYZxyz(7.5917, 6.4690, 24.1363)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4488 #88712D
analogous
#2D7188 #2D4488 #432D88
triadic
#2D4488 #882D44 #44882D
tetradic
#2D4488 #882D71 #88712D #2D8843
square
#2D4488 #882D71 #88712D #2D8843
split-complementary
#2D4488 #88432D #71882D
monochromatic
#0F162C #1E2D5A #2D4488 #3C5BB6 #647ECC

Accessibility & contrast

On white

9.15
#2D4488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2D4488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4488
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4488#FFFFFF#000000##FFFFFF
##2D44881.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C8A
Deuteranopia (green-blind)
#0B4487
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d4488;
/* rgb */ color: rgb(45, 68, 136);
/* oklch */ color: oklch(40.7% 0.117 267.1);
Tailwind
colors: {
  custom: {
    50: '#7077ab',
    500: '#2d4488',
    950: '#000000',
  },
}
SCSS
$custom: #2d4488;
$custom-light: #7077ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4488",
  "rgb": {
    "r": 45,
    "g": 68,
    "b": 136
  },
  "hsl": {
    "h": 224.835,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40667,
    "c": 0.11687,
    "h": 267.1
  },
  "luminance": 0.0647
}

Semantic roles & 50–950 ramp

primary
#2D4488
secondary
#B29D5F
accent
#B64EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2D4488

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

Preview Lab → · Contrast checker → · Palette generator →

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