#2D2372#2D2372

#2D2372 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.130 H 282.0°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#2D2372
RGBrgb(45, 35, 114)
HSLhsl(248, 53%, 29%)
HSVhsv(248, 69%, 45%)
CMYKcmyk(60.5%, 69.3%, 0%, 55.3%)
CIE-LABlab(19.94, 28.86, -44.10)
CIE-LCHlch(19.94, 52.70, 303.20°)
OKLaboklab(32.21% 0.027 -0.1269)
OKLCHoklch(32.21% 0.13 282)
XYZxyz(4.7195, 2.9745, 16.2418)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2372 #687223
analogous
#234172 #2D2372 #552372
triadic
#2D2372 #722D23 #23722D
tetradic
#2D2372 #722341 #687223 #237255
square
#2D2372 #722341 #687223 #237255
split-complementary
#2D2372 #725523 #417223
monochromatic
#090717 #1B1543 #2D2372 #3F31A1 #5848C7

Accessibility & contrast

On white

13.17
#2D2372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2D2372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2372
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2372#FFFFFF#000000##FFFFFF
##2D23721.0013.171.6013.17
#FFFFFF13.171.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003374
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#053747
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d2372;
/* rgb */ color: rgb(45, 35, 114);
/* oklch */ color: oklch(32.2% 0.130 282.0);
Tailwind
colors: {
  custom: {
    50: '#6e5f9b',
    500: '#2d2372',
    950: '#000000',
  },
}
SCSS
$custom: #2d2372;
$custom-light: #6e5f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2372",
  "rgb": {
    "r": 45,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 247.595,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32208,
    "c": 0.12974,
    "h": 282
  },
  "luminance": 0.02975
}

Semantic roles & 50–950 ramp

primary
#2D2372
secondary
#9AA54C
accent
#DC4BCA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2D2372

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

Preview Lab → · Contrast checker → · Palette generator →

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