#2D4388#2D4388

#2D4388 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.4% C 0.118 H 267.6°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#2D4388
RGBrgb(45, 67, 136)
HSLhsl(225, 50%, 35%)
HSVhsv(225, 67%, 53%)
CMYKcmyk(66.9%, 50.7%, 0%, 46.7%)
CIE-LABlab(30.28, 15.29, -41.22)
CIE-LCHlch(30.28, 43.97, 290.36°)
OKLaboklab(40.45% -0.005 -0.1181)
OKLCHoklch(40.45% 0.118 267.6)
XYZxyz(7.5318, 6.3491, 24.1164)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4388 #88722D
analogous
#2D7088 #2D4388 #452D88
triadic
#2D4388 #882D43 #43882D
tetradic
#2D4388 #882D70 #88722D #2D8845
square
#2D4388 #882D70 #88722D #2D8845
split-complementary
#2D4388 #88452D #70882D
monochromatic
#0F162C #1E2C5A #2D4388 #3C5AB6 #647DCC

Accessibility & contrast

On white

9.25
#2D4388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2D4388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4388
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4388#FFFFFF#000000##FFFFFF
##2D43881.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4C8B
Deuteranopia (green-blind)
#064387
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d4388;
/* rgb */ color: rgb(45, 67, 136);
/* oklch */ color: oklch(40.4% 0.118 267.6);
Tailwind
colors: {
  custom: {
    50: '#7076ab',
    500: '#2d4388',
    950: '#000000',
  },
}
SCSS
$custom: #2d4388;
$custom-light: #7076ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4388",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 136
  },
  "hsl": {
    "h": 225.495,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40447,
    "c": 0.11821,
    "h": 267.6
  },
  "luminance": 0.0635
}

Semantic roles & 50–950 ramp

primary
#2D4388
secondary
#B29E5F
accent
#B84EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2D4388

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

Preview Lab → · Contrast checker → · Palette generator →

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