#2D3B91#2D3B91

#2D3B91 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.142 H 271.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#2D3B91
RGBrgb(45, 59, 145)
HSLhsl(232, 53%, 37%)
HSVhsv(232, 69%, 57%)
CMYKcmyk(69%, 59.3%, 0%, 43.1%)
CIE-LABlab(28.72, 24.11, -49.29)
CIE-LCHlch(28.72, 54.87, 296.07°)
OKLaboklab(39.49% 0.0033 -0.142)
OKLCHoklch(39.49% 0.142 271.3)
XYZxyz(7.7553, 5.7294, 27.4798)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3B91 #91832D
analogous
#2D6D91 #2D3B91 #512D91
triadic
#2D3B91 #912D3B #3B912D
tetradic
#2D3B91 #912D6D #91832D #2D9151
square
#2D3B91 #912D6D #91832D #2D9151
split-complementary
#2D3B91 #91512D #6D912D
monochromatic
#101534 #1F2862 #2D3B91 #3B4EC0 #6877D0

Accessibility & contrast

On white

9.79
#2D3B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2D3B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3B91
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3B91#FFFFFF#000000##FFFFFF
##2D3B911.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d3b91;
/* rgb */ color: rgb(45, 59, 145);
/* oklch */ color: oklch(39.5% 0.142 271.3);
Tailwind
colors: {
  custom: {
    50: '#7370b2',
    500: '#2d3b91',
    950: '#000000',
  },
}
SCSS
$custom: #2d3b91;
$custom-light: #7370b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3b91",
  "rgb": {
    "r": 45,
    "g": 59,
    "b": 145
  },
  "hsl": {
    "h": 231.6,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39487,
    "c": 0.142,
    "h": 271.3
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#2D3B91
secondary
#B7AB63
accent
#C84CDC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D3B91

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

Preview Lab → · Contrast checker → · Palette generator →

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