#2D3596#2D3596

#2D3596 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.157 H 273.0°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#2D3596
RGBrgb(45, 53, 150)
HSLhsl(235, 54%, 38%)
HSVhsv(235, 70%, 59%)
CMYKcmyk(70%, 64.7%, 0%, 41.2%)
CIE-LABlab(27.59, 29.95, -54.20)
CIE-LCHlch(27.59, 61.92, 298.92°)
OKLaboklab(38.78% 0.0081 -0.1564)
OKLCHoklch(38.78% 0.157 273)
XYZxyz(7.8585, 5.3054, 29.4581)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3596 #968E2D
analogous
#2D6996 #2D3596 #5A2D96
triadic
#2D3596 #962D35 #35962D
tetradic
#2D3596 #962D69 #968E2D #2D965A
square
#2D3596 #962D69 #968E2D #2D965A
split-complementary
#2D3596 #965A2D #69962D
monochromatic
#111438 #1F2467 #2D3596 #3C46C4 #6B73D3

Accessibility & contrast

On white

10.19
#2D3596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2D3596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3596
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3596#FFFFFF#000000##FFFFFF
##2D35961.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d3596;
/* rgb */ color: rgb(45, 53, 150);
/* oklch */ color: oklch(38.8% 0.157 273.0);
Tailwind
colors: {
  custom: {
    50: '#746cb6',
    500: '#2d3596',
    950: '#000000',
  },
}
SCSS
$custom: #2d3596;
$custom-light: #746cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3596",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 150
  },
  "hsl": {
    "h": 235.429,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38782,
    "c": 0.15665,
    "h": 273
  },
  "luminance": 0.05306
}

Semantic roles & 50–950 ramp

primary
#2D3596
secondary
#B9B365
accent
#D24BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D3596

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

Preview Lab → · Contrast checker → · Palette generator →

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