#2D3A90#2D3A90

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

Color values

HEX#2D3A90
RGBrgb(45, 58, 144)
HSLhsl(232, 52%, 37%)
HSVhsv(232, 69%, 56%)
CMYKcmyk(68.7%, 59.7%, 0%, 43.5%)
CIE-LABlab(28.37, 24.41, -49.24)
CIE-LCHlch(28.37, 54.96, 296.37°)
OKLaboklab(39.2% 0.0041 -0.1418)
OKLCHoklch(39.2% 0.142 271.7)
XYZxyz(7.6276, 5.5969, 27.0585)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A90 #90832D
analogous
#2D6C90 #2D3A90 #522D90
triadic
#2D3A90 #902D3A #3A902D
tetradic
#2D3A90 #902D6C #90832D #2D9052
square
#2D3A90 #902D6C #90832D #2D9052
split-complementary
#2D3A90 #90522D #6C902D
monochromatic
#101433 #1E2761 #2D3A90 #3C4DBF #6875D0

Accessibility & contrast

On white

9.91
#2D3A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2D3A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3A90
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A90#FFFFFF#000000##FFFFFF
##2D3A901.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3a90;
/* rgb */ color: rgb(45, 58, 144);
/* oklch */ color: oklch(39.2% 0.142 271.7);
Tailwind
colors: {
  custom: {
    50: '#7370b1',
    500: '#2d3a90',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a90;
$custom-light: #7370b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a90",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 144
  },
  "hsl": {
    "h": 232.121,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39203,
    "c": 0.14188,
    "h": 271.7
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3A90

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

Preview Lab → · Contrast checker → · Palette generator →

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