#2D3A92#2D3A92

#2D3A92 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.145 H 271.6°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#2D3A92
RGBrgb(45, 58, 146)
HSLhsl(232, 53%, 37%)
HSVhsv(232, 69%, 57%)
CMYKcmyk(69.2%, 60.3%, 0%, 42.7%)
CIE-LABlab(28.53, 25.15, -50.20)
CIE-LCHlch(28.53, 56.15, 296.61°)
OKLaboklab(39.38% 0.0041 -0.1447)
OKLCHoklch(39.38% 0.145 271.6)
XYZxyz(7.7818, 5.6586, 27.8707)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A92 #92852D
analogous
#2D6D92 #2D3A92 #522D92
triadic
#2D3A92 #922D3A #3A922D
tetradic
#2D3A92 #922D6D #92852D #2D9252
square
#2D3A92 #922D6D #92852D #2D9252
split-complementary
#2D3A92 #92522D #6D922D
monochromatic
#101534 #1F2763 #2D3A92 #3B4DC1 #6976D1

Accessibility & contrast

On white

9.85
#2D3A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3A92
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A92#FFFFFF#000000##FFFFFF
##2D3A921.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d3a92;
/* rgb */ color: rgb(45, 58, 146);
/* oklch */ color: oklch(39.4% 0.145 271.6);
Tailwind
colors: {
  custom: {
    50: '#7370b3',
    500: '#2d3a92',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a92;
$custom-light: #7370b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a92",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 146
  },
  "hsl": {
    "h": 232.277,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39375,
    "c": 0.14472,
    "h": 271.6
  },
  "luminance": 0.05659
}

Semantic roles & 50–950 ramp

primary
#2D3A92
secondary
#B7AD63
accent
#CA4CDC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D3A92

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

Preview Lab → · Contrast checker → · Palette generator →

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