#2D3A91#2D3A91

#2D3A91 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.143 H 271.7°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#2D3A91
RGBrgb(45, 58, 145)
HSLhsl(232, 53%, 37%)
HSVhsv(232, 69%, 57%)
CMYKcmyk(69%, 60%, 0%, 43.1%)
CIE-LABlab(28.45, 24.78, -49.72)
CIE-LCHlch(28.45, 55.56, 296.49°)
OKLaboklab(39.29% 0.0041 -0.1432)
OKLCHoklch(39.29% 0.143 271.7)
XYZxyz(7.7044, 5.6276, 27.4628)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A91 #91842D
analogous
#2D6C91 #2D3A91 #522D91
triadic
#2D3A91 #912D3A #3A912D
tetradic
#2D3A91 #912D6C #91842D #2D9152
square
#2D3A91 #912D6C #91842D #2D9152
split-complementary
#2D3A91 #91522D #6C912D
monochromatic
#101534 #1F2762 #2D3A91 #3B4DC0 #6876D0

Accessibility & contrast

On white

9.88
#2D3A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2D3A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3A91
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A91#FFFFFF#000000##FFFFFF
##2D3A911.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d3a91;
/* rgb */ color: rgb(45, 58, 145);
/* oklch */ color: oklch(39.3% 0.143 271.7);
Tailwind
colors: {
  custom: {
    50: '#7370b2',
    500: '#2d3a91',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a91;
$custom-light: #7370b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a91",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 145
  },
  "hsl": {
    "h": 232.2,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39289,
    "c": 0.1433,
    "h": 271.7
  },
  "luminance": 0.05628
}

Semantic roles & 50–950 ramp

primary
#2D3A91
secondary
#B7AC63
accent
#C94CDC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D3A91

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

Preview Lab → · Contrast checker → · Palette generator →

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