#30237C#30237C

#30237C is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.143 H 282.1°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#30237C
RGBrgb(48, 35, 124)
HSLhsl(249, 56%, 31%)
HSVhsv(249, 72%, 49%)
CMYKcmyk(61.3%, 71.8%, 0%, 51.4%)
CIE-LABlab(21.15, 32.75, -48.51)
CIE-LCHlch(21.15, 58.53, 304.03°)
OKLaboklab(33.44% 0.0299 -0.1397)
OKLCHoklch(33.44% 0.143 282.1)
XYZxyz(5.4569, 3.2853, 19.4114)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30237C #6F7C23
analogous
#23427C #30237C #5C237C
triadic
#30237C #7C3023 #237C30
tetradic
#30237C #7C2342 #6F7C23 #237C5C
square
#30237C #7C2342 #6F7C23 #237C5C
split-complementary
#30237C #7C5C23 #427C23
monochromatic
#0B081D #1E164C #30237C #4230AC #5F4DCD

Accessibility & contrast

On white

12.67
#30237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#30237C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30237C
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30237C#FFFFFF#000000##FFFFFF
##30237C1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #30237c;
/* rgb */ color: rgb(48, 35, 124);
/* oklch */ color: oklch(33.4% 0.143 282.1);
Tailwind
colors: {
  custom: {
    50: '#725fa3',
    500: '#30237c',
    950: '#000000',
  },
}
SCSS
$custom: #30237c;
$custom-light: #725fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#30237c",
  "rgb": {
    "r": 48,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 248.764,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33436,
    "c": 0.14286,
    "h": 282.1
  },
  "luminance": 0.03286
}

Semantic roles & 50–950 ramp

primary
#30237C
secondary
#A0AF4C
accent
#DF49C9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #30237C

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

Preview Lab → · Contrast checker → · Palette generator →

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