#2D4489#2D4489

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

Color values

HEX#2D4489
RGBrgb(45, 68, 137)
HSLhsl(225, 51%, 36%)
HSVhsv(225, 67%, 54%)
CMYKcmyk(67.2%, 50.4%, 0%, 46.3%)
CIE-LABlab(30.63, 14.99, -41.26)
CIE-LCHlch(30.63, 43.90, 289.97°)
OKLaboklab(40.74% -0.0059 -0.1182)
OKLCHoklch(40.74% 0.118 267.2)
XYZxyz(7.6631, 6.4976, 24.5124)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4489 #89722D
analogous
#2D7289 #2D4489 #442D89
triadic
#2D4489 #892D44 #44892D
tetradic
#2D4489 #892D72 #89722D #2D8944
square
#2D4489 #892D72 #89722D #2D8944
split-complementary
#2D4489 #89442D #72892D
monochromatic
#0F162D #1E2D5B #2D4489 #3C5BB7 #647ECC

Accessibility & contrast

On white

9.13
#2D4489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4489
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4489#FFFFFF#000000##FFFFFF
##2D44891.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4D8C
Deuteranopia (green-blind)
#084488
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d4489;
/* rgb */ color: rgb(45, 68, 137);
/* oklch */ color: oklch(40.7% 0.118 267.2);
Tailwind
colors: {
  custom: {
    50: '#7177ac',
    500: '#2d4489',
    950: '#000000',
  },
}
SCSS
$custom: #2d4489;
$custom-light: #7177ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4489",
  "rgb": {
    "r": 45,
    "g": 68,
    "b": 137
  },
  "hsl": {
    "h": 225,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40742,
    "c": 0.11837,
    "h": 267.2
  },
  "luminance": 0.06498
}

Semantic roles & 50–950 ramp

primary
#2D4489
secondary
#B39E5F
accent
#B74EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2D4489

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

Preview Lab → · Contrast checker → · Palette generator →

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