#2D3CB6#2D3CB6

#2D3CB6 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.0% C 0.191 H 270.3°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#2D3CB6
RGBrgb(45, 60, 182)
HSLhsl(233, 60%, 45%)
HSVhsv(233, 75%, 71%)
CMYKcmyk(75.3%, 67%, 0%, 28.6%)
CIE-LABlab(32.18, 37.00, -65.95)
CIE-LCHlch(32.18, 75.62, 299.30°)
OKLaboklab(43.03% 0.0011 -0.1908)
OKLCHoklch(43.03% 0.191 270.3)
XYZxyz(11.1387, 7.1658, 45.0430)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3CB6 #B6A72D
analogous
#2D80B6 #2D3CB6 #632DB6
triadic
#2D3CB6 #B62D3C #3CB62D
tetradic
#2D3CB6 #B62D80 #B6A72D #2DB663
square
#2D3CB6 #B62D80 #B6A72D #2DB663
split-complementary
#2D3CB6 #B6632D #80B62D
monochromatic
#151C54 #212C85 #2D3CB6 #4D5CD3 #7E89DF

Accessibility & contrast

On white

8.63
#2D3CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2D3CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3CB6
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3CB6#FFFFFF#000000##FFFFFF
##2D3CB61.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0045B4
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d3cb6;
/* rgb */ color: rgb(45, 60, 182);
/* oklch */ color: oklch(43.0% 0.191 270.3);
Tailwind
colors: {
  custom: {
    50: '#7b72cd',
    500: '#2d3cb6',
    950: '#000000',
  },
}
SCSS
$custom: #2d3cb6;
$custom-light: #7b72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3cb6",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 182
  },
  "hsl": {
    "h": 233.431,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43029,
    "c": 0.1908,
    "h": 270.3
  },
  "luminance": 0.07167
}

Semantic roles & 50–950 ramp

primary
#2D3CB6
secondary
#C8BF77
accent
#D244E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2D3CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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