#2D4590#2D4590

#2D4590 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.127 H 267.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2D4590
RGBrgb(45, 69, 144)
HSLhsl(225, 52%, 37%)
HSVhsv(225, 69%, 56%)
CMYKcmyk(68.7%, 52.1%, 0%, 43.5%)
CIE-LABlab(31.41, 16.96, -44.32)
CIE-LCHlch(31.41, 47.45, 290.95°)
OKLaboklab(41.49% -0.006 -0.1272)
OKLCHoklch(41.49% 0.127 267.3)
XYZxyz(8.2426, 6.8270, 27.2635)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4590 #90782D
analogous
#2D7690 #2D4590 #472D90
triadic
#2D4590 #902D45 #45902D
tetradic
#2D4590 #902D76 #90782D #2D9047
square
#2D4590 #902D76 #90782D #2D9047
split-complementary
#2D4590 #90472D #76902D
monochromatic
#101833 #1E2F61 #2D4590 #3C5BBF #6881D0

Accessibility & contrast

On white

8.88
#2D4590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2D4590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4590
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4590#FFFFFF#000000##FFFFFF
##2D45901.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194F93
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d4590;
/* rgb */ color: rgb(45, 69, 144);
/* oklch */ color: oklch(41.5% 0.127 267.3);
Tailwind
colors: {
  custom: {
    50: '#7278b1',
    500: '#2d4590',
    950: '#000000',
  },
}
SCSS
$custom: #2d4590;
$custom-light: #7278b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4590",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 144
  },
  "hsl": {
    "h": 225.455,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41487,
    "c": 0.12733,
    "h": 267.3
  },
  "luminance": 0.06828
}

Semantic roles & 50–950 ramp

primary
#2D4590
secondary
#B6A262
accent
#B94CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4590

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

Preview Lab → · Contrast checker → · Palette generator →

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