#2D3496#2D3496

#2D3496 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.158 H 273.2°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#2D3496
RGBrgb(45, 52, 150)
HSLhsl(236, 54%, 38%)
HSVhsv(236, 70%, 59%)
CMYKcmyk(70%, 65.3%, 0%, 41.2%)
CIE-LABlab(27.34, 30.60, -54.61)
CIE-LCHlch(27.34, 62.60, 299.26°)
OKLaboklab(38.6% 0.0089 -0.1576)
OKLCHoklch(38.6% 0.158 273.2)
XYZxyz(7.8134, 5.2151, 29.4431)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3496 #968F2D
analogous
#2D6896 #2D3496 #5A2D96
triadic
#2D3496 #962D34 #34962D
tetradic
#2D3496 #962D68 #968F2D #2D965A
square
#2D3496 #962D68 #968F2D #2D965A
split-complementary
#2D3496 #965A2D #68962D
monochromatic
#111338 #1F2467 #2D3496 #3C45C4 #6B72D3

Accessibility & contrast

On white

10.28
#2D3496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2D3496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3496
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3496#FFFFFF#000000##FFFFFF
##2D34961.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3496;
/* rgb */ color: rgb(45, 52, 150);
/* oklch */ color: oklch(38.6% 0.158 273.2);
Tailwind
colors: {
  custom: {
    50: '#756bb6',
    500: '#2d3496',
    950: '#000000',
  },
}
SCSS
$custom: #2d3496;
$custom-light: #756bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3496",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 150
  },
  "hsl": {
    "h": 236,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.386,
    "c": 0.15789,
    "h": 273.2
  },
  "luminance": 0.05216
}

Semantic roles & 50–950 ramp

primary
#2D3496
secondary
#B9B465
accent
#D34BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D3496

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

Preview Lab → · Contrast checker → · Palette generator →

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