#30237A#30237A

#30237A is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.140 H 282.4°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#30237A
RGBrgb(48, 35, 122)
HSLhsl(249, 55%, 31%)
HSVhsv(249, 71%, 48%)
CMYKcmyk(60.7%, 71.3%, 0%, 52.2%)
CIE-LABlab(20.96, 32.08, -47.55)
CIE-LCHlch(20.96, 57.36, 304.01°)
OKLaboklab(33.24% 0.0302 -0.1369)
OKLCHoklch(33.24% 0.14 282.4)
XYZxyz(5.3317, 3.2352, 18.7521)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30237A #6D7A23
analogous
#23417A #30237A #5B237A
triadic
#30237A #7A3023 #237A30
tetradic
#30237A #7A2341 #6D7A23 #237A5B
square
#30237A #7A2341 #6D7A23 #237A5B
split-complementary
#30237A #7A5B23 #417A23
monochromatic
#0B081B #1D154A #30237A #4331AA #5F4CCC

Accessibility & contrast

On white

12.75
#30237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#30237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30237A
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30237A#FFFFFF#000000##FFFFFF
##30237A1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#002F78
Tritanopia (blue-blind)
#033A4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #30237a;
/* rgb */ color: rgb(48, 35, 122);
/* oklch */ color: oklch(33.2% 0.140 282.4);
Tailwind
colors: {
  custom: {
    50: '#715fa1',
    500: '#30237a',
    950: '#000000',
  },
}
SCSS
$custom: #30237a;
$custom-light: #715fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#30237a",
  "rgb": {
    "r": 48,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 248.966,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33242,
    "c": 0.14018,
    "h": 282.4
  },
  "luminance": 0.03236
}

Semantic roles & 50–950 ramp

primary
#30237A
secondary
#9EAD4C
accent
#DF49C8
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #30237A

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

Preview Lab → · Contrast checker → · Palette generator →

#30237A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva