#2D4890#2D4890

#2D4890 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.1% C 0.123 H 265.8°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#2D4890
RGBrgb(45, 72, 144)
HSLhsl(224, 52%, 37%)
HSVhsv(224, 69%, 56%)
CMYKcmyk(68.7%, 50%, 0%, 43.5%)
CIE-LABlab(32.27, 14.94, -42.93)
CIE-LCHlch(32.27, 45.45, 289.18°)
OKLaboklab(42.14% -0.0089 -0.1231)
OKLCHoklch(42.14% 0.123 265.8)
XYZxyz(8.4318, 7.2054, 27.3266)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4890 #90752D
analogous
#2D7A90 #2D4890 #432D90
triadic
#2D4890 #902D48 #48902D
tetradic
#2D4890 #902D7A #90752D #2D9043
square
#2D4890 #902D7A #90752D #2D9043
split-complementary
#2D4890 #90432D #7A902D
monochromatic
#101933 #1E3161 #2D4890 #3C5FBF #6884D0

Accessibility & contrast

On white

8.60
#2D4890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2D4890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4890
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4890#FFFFFF#000000##FFFFFF
##2D48901.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215193
Deuteranopia (green-blind)
#06488F
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d4890;
/* rgb */ color: rgb(45, 72, 144);
/* oklch */ color: oklch(42.1% 0.123 265.8);
Tailwind
colors: {
  custom: {
    50: '#727ab1',
    500: '#2d4890',
    950: '#000000',
  },
}
SCSS
$custom: #2d4890;
$custom-light: #727ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4890",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 144
  },
  "hsl": {
    "h": 223.636,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42141,
    "c": 0.12338,
    "h": 265.8
  },
  "luminance": 0.07206
}

Semantic roles & 50–950 ramp

primary
#2D4890
secondary
#B69F62
accent
#B54CDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4890

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

Preview Lab → · Contrast checker → · Palette generator →

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