#2D3497#2D3497

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

Color values

HEX#2D3497
RGBrgb(45, 52, 151)
HSLhsl(236, 54%, 38%)
HSVhsv(236, 70%, 59%)
CMYKcmyk(70.2%, 65.6%, 0%, 40.8%)
CIE-LABlab(27.43, 30.96, -55.08)
CIE-LCHlch(27.43, 63.18, 299.34°)
OKLaboklab(38.69% 0.0088 -0.159)
OKLCHoklch(38.69% 0.159 273.2)
XYZxyz(7.8942, 5.2475, 29.8690)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3497 #97902D
analogous
#2D6997 #2D3497 #5B2D97
triadic
#2D3497 #972D34 #34972D
tetradic
#2D3497 #972D69 #97902D #2D975B
square
#2D3497 #972D69 #97902D #2D975B
split-complementary
#2D3497 #975B2D #69972D
monochromatic
#111439 #1F2468 #2D3497 #3C45C5 #6B72D3

Accessibility & contrast

On white

10.25
#2D3497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2D3497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3497
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3497#FFFFFF#000000##FFFFFF
##2D34971.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d3497;
/* rgb */ color: rgb(45, 52, 151);
/* oklch */ color: oklch(38.7% 0.159 273.2);
Tailwind
colors: {
  custom: {
    50: '#756bb6',
    500: '#2d3497',
    950: '#000000',
  },
}
SCSS
$custom: #2d3497;
$custom-light: #756bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3497",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 236.038,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38693,
    "c": 0.15925,
    "h": 273.2
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#2D3497
secondary
#BAB466
accent
#D44ADD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D3497

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

Preview Lab → · Contrast checker → · Palette generator →

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