#2D4096#2D4096

#2D4096 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.143 H 269.6°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#2D4096
RGBrgb(45, 64, 150)
HSLhsl(229, 54%, 38%)
HSVhsv(229, 70%, 59%)
CMYKcmyk(70%, 57.3%, 0%, 41.2%)
CIE-LABlab(30.46, 22.61, -49.52)
CIE-LCHlch(30.46, 54.44, 294.54°)
OKLaboklab(40.91% -0.001 -0.1426)
OKLCHoklch(40.91% 0.143 269.6)
XYZxyz(8.4187, 6.4259, 29.6449)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4096 #96832D
analogous
#2D7496 #2D4096 #4E2D96
triadic
#2D4096 #962D40 #40962D
tetradic
#2D4096 #962D74 #96832D #2D964E
square
#2D4096 #962D74 #96832D #2D964E
split-complementary
#2D4096 #964E2D #74962D
monochromatic
#111838 #1F2C67 #2D4096 #3C54C4 #6B7ED3

Accessibility & contrast

On white

9.19
#2D4096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2D4096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4096
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4096#FFFFFF#000000##FFFFFF
##2D40961.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#004394
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d4096;
/* rgb */ color: rgb(45, 64, 150);
/* oklch */ color: oklch(40.9% 0.143 269.6);
Tailwind
colors: {
  custom: {
    50: '#7474b6',
    500: '#2d4096',
    950: '#000000',
  },
}
SCSS
$custom: #2d4096;
$custom-light: #7474b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4096",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 150
  },
  "hsl": {
    "h": 229.143,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40914,
    "c": 0.14257,
    "h": 269.6
  },
  "luminance": 0.06427
}

Semantic roles & 50–950 ramp

primary
#2D4096
secondary
#B9AA65
accent
#C34BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4096

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

Preview Lab → · Contrast checker → · Palette generator →

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