#2D4990#2D4990

#2D4990 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.122 H 265.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#2D4990
RGBrgb(45, 73, 144)
HSLhsl(223, 52%, 37%)
HSVhsv(223, 69%, 56%)
CMYKcmyk(68.7%, 49.3%, 0%, 43.5%)
CIE-LABlab(32.56, 14.26, -42.47)
CIE-LCHlch(32.56, 44.80, 288.56°)
OKLaboklab(42.36% -0.0099 -0.1217)
OKLCHoklch(42.36% 0.122 265.3)
XYZxyz(8.4970, 7.3358, 27.3483)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4990 #90742D
analogous
#2D7B90 #2D4990 #422D90
triadic
#2D4990 #902D49 #49902D
tetradic
#2D4990 #902D7B #90742D #2D9042
square
#2D4990 #902D7B #90742D #2D9042
split-complementary
#2D4990 #90422D #7B902D
monochromatic
#101A33 #1E3161 #2D4990 #3C61BF #6885D0

Accessibility & contrast

On white

8.51
#2D4990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2D4990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4990
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4990#FFFFFF#000000##FFFFFF
##2D49901.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235193
Deuteranopia (green-blind)
#0B488F
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d4990;
/* rgb */ color: rgb(45, 73, 144);
/* oklch */ color: oklch(42.4% 0.122 265.3);
Tailwind
colors: {
  custom: {
    50: '#727bb1',
    500: '#2d4990',
    950: '#000000',
  },
}
SCSS
$custom: #2d4990;
$custom-light: #727bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4990",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 144
  },
  "hsl": {
    "h": 223.03,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42362,
    "c": 0.12208,
    "h": 265.3
  },
  "luminance": 0.07337
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D4990

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

Preview Lab → · Contrast checker → · Palette generator →

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