#2D3C92#2D3C92

#2D3C92 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.142 H 271.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2D3C92
RGBrgb(45, 60, 146)
HSLhsl(231, 53%, 37%)
HSVhsv(231, 69%, 57%)
CMYKcmyk(69.2%, 58.9%, 0%, 42.7%)
CIE-LABlab(29.07, 23.81, -49.34)
CIE-LCHlch(29.07, 54.78, 295.76°)
OKLaboklab(39.77% 0.0024 -0.1421)
OKLCHoklch(39.77% 0.142 271)
XYZxyz(7.8846, 5.8642, 27.9049)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C92 #92832D
analogous
#2D6F92 #2D3C92 #502D92
triadic
#2D3C92 #922D3C #3C922D
tetradic
#2D3C92 #922D6F #92832D #2D9250
square
#2D3C92 #922D6F #92832D #2D9250
split-complementary
#2D3C92 #92502D #6F922D
monochromatic
#101634 #1F2963 #2D3C92 #3B4FC1 #6978D1

Accessibility & contrast

On white

9.66
#2D3C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2D3C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3C92
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C92#FFFFFF#000000##FFFFFF
##2D3C921.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d3c92;
/* rgb */ color: rgb(45, 60, 146);
/* oklch */ color: oklch(39.8% 0.142 271.0);
Tailwind
colors: {
  custom: {
    50: '#7371b3',
    500: '#2d3c92',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c92;
$custom-light: #7371b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c92",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 146
  },
  "hsl": {
    "h": 231.089,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39772,
    "c": 0.14211,
    "h": 271
  },
  "luminance": 0.05865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3C92

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

Preview Lab → · Contrast checker → · Palette generator →

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