#2D3372#2D3372

#2D3372 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.3% C 0.107 H 275.4°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#2D3372
RGBrgb(45, 51, 114)
HSLhsl(235, 43%, 31%)
HSVhsv(235, 61%, 45%)
CMYKcmyk(60.5%, 55.3%, 0%, 55.3%)
CIE-LABlab(24.13, 18.08, -37.30)
CIE-LCHlch(24.13, 41.45, 295.86°)
OKLaboklab(35.3% 0.01 -0.1068)
OKLCHoklch(35.3% 0.107 275.4)
XYZxyz(5.3023, 4.1401, 16.4360)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3372 #726C2D
analogous
#2D5572 #2D3372 #492D72
triadic
#2D3372 #722D33 #33722D
tetradic
#2D3372 #722D55 #726C2D #2D7249
square
#2D3372 #722D55 #726C2D #2D7249
split-complementary
#2D3372 #72492D #55722D
monochromatic
#0A0C1A #1C1F46 #2D3372 #3E479E #5B64BE

Accessibility & contrast

On white

11.49
#2D3372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2D3372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3372
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3372#FFFFFF#000000##FFFFFF
##2D33721.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3C74
Deuteranopia (green-blind)
#003771
Tritanopia (blue-blind)
#01414D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d3372;
/* rgb */ color: rgb(45, 51, 114);
/* oklch */ color: oklch(35.3% 0.107 275.4);
Tailwind
colors: {
  custom: {
    50: '#6d6a9b',
    500: '#2d3372',
    950: '#000000',
  },
}
SCSS
$custom: #2d3372;
$custom-light: #6d6a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3372",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 114
  },
  "hsl": {
    "h": 234.783,
    "s": 43.396,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35298,
    "c": 0.10726,
    "h": 275.4
  },
  "luminance": 0.0414
}

Semantic roles & 50–950 ramp

primary
#2D3372
secondary
#A39D57
accent
#C855D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2D3372

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

Preview Lab → · Contrast checker → · Palette generator →

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