#2D3A96#2D3A96

#2D3A96 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.150 H 271.6°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#2D3A96
RGBrgb(45, 58, 150)
HSLhsl(233, 54%, 38%)
HSVhsv(233, 70%, 59%)
CMYKcmyk(70%, 61.3%, 0%, 41.2%)
CIE-LABlab(28.86, 26.64, -52.12)
CIE-LCHlch(28.86, 58.53, 297.07°)
OKLaboklab(39.72% 0.0041 -0.1503)
OKLCHoklch(39.72% 0.15 271.6)
XYZxyz(8.0984, 5.7852, 29.5381)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A96 #96892D
analogous
#2D6E96 #2D3A96 #542D96
triadic
#2D3A96 #962D3A #3A962D
tetradic
#2D3A96 #962D6E #96892D #2D9654
square
#2D3A96 #962D6E #96892D #2D9654
split-complementary
#2D3A96 #96542D #6E962D
monochromatic
#111638 #1F2867 #2D3A96 #3C4DC4 #6B78D3

Accessibility & contrast

On white

9.73
#2D3A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2D3A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3A96
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A96#FFFFFF#000000##FFFFFF
##2D3A961.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d3a96;
/* rgb */ color: rgb(45, 58, 150);
/* oklch */ color: oklch(39.7% 0.150 271.6);
Tailwind
colors: {
  custom: {
    50: '#7470b6',
    500: '#2d3a96',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a96;
$custom-light: #7470b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a96",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 150
  },
  "hsl": {
    "h": 232.571,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39723,
    "c": 0.15034,
    "h": 271.6
  },
  "luminance": 0.05786
}

Semantic roles & 50–950 ramp

primary
#2D3A96
secondary
#B9AF65
accent
#CB4BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D3A96

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

Preview Lab → · Contrast checker → · Palette generator →

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