#30237E#30237E

#30237E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.146 H 281.7°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#30237E
RGBrgb(48, 35, 126)
HSLhsl(249, 57%, 32%)
HSVhsv(249, 72%, 49%)
CMYKcmyk(61.9%, 72.2%, 0%, 50.6%)
CIE-LABlab(21.34, 33.42, -49.46)
CIE-LCHlch(21.34, 59.69, 304.04°)
OKLaboklab(33.63% 0.0295 -0.1425)
OKLCHoklch(33.63% 0.146 281.7)
XYZxyz(5.5847, 3.3364, 20.0843)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30237E #717E23
analogous
#23447E #30237E #5E237E
triadic
#30237E #7E3023 #237E30
tetradic
#30237E #7E2344 #717E23 #237E5E
square
#30237E #7E2344 #717E23 #237E5E
split-complementary
#30237E #7E5E23 #447E23
monochromatic
#0C081E #1E164E #30237E #4230AE #604ECE

Accessibility & contrast

On white

12.59
#30237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#30237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30237E
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30237E#FFFFFF#000000##FFFFFF
##30237E1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #30237e;
/* rgb */ color: rgb(48, 35, 126);
/* oklch */ color: oklch(33.6% 0.146 281.7);
Tailwind
colors: {
  custom: {
    50: '#725fa4',
    500: '#30237e',
    950: '#000000',
  },
}
SCSS
$custom: #30237e;
$custom-light: #725fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#30237e",
  "rgb": {
    "r": 48,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 248.571,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33632,
    "c": 0.14553,
    "h": 281.7
  },
  "luminance": 0.03337
}

Semantic roles & 50–950 ramp

primary
#30237E
secondary
#A2B04C
accent
#E048CA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #30237E

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

Preview Lab → · Contrast checker → · Palette generator →

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