#30209E#30209E

#30209E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.6% C 0.189 H 277.3°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#30209E
RGBrgb(48, 32, 158)
HSLhsl(248, 66%, 37%)
HSVhsv(248, 80%, 62%)
CMYKcmyk(69.6%, 79.7%, 0%, 38%)
CIE-LABlab(24.09, 45.43, -64.84)
CIE-LCHlch(24.09, 79.17, 305.02°)
OKLaboklab(36.58% 0.0239 -0.1873)
OKLCHoklch(36.58% 0.189 277.3)
XYZxyz(7.9050, 4.1293, 32.7216)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30209E #8E9E20
analogous
#204F9E #30209E #6F209E
triadic
#30209E #9E3020 #209E30
tetradic
#30209E #9E204F #8E9E20 #209E6F
square
#30209E #9E204F #8E9E20 #209E6F
split-complementary
#30209E #9E6F20 #4F9E20
monochromatic
#110B38 #21166B #30209E #3F2AD1 #6B5BDE

Accessibility & contrast

On white

11.50
#30209E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#30209E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30209E
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30209E#FFFFFF#000000##FFFFFF
##30209E1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #30209e;
/* rgb */ color: rgb(48, 32, 158);
/* oklch */ color: oklch(36.6% 0.189 277.3);
Tailwind
colors: {
  custom: {
    50: '#795fbc',
    500: '#30209e',
    950: '#000000',
  },
}
SCSS
$custom: #30209e;
$custom-light: #795fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#30209e",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 247.619,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36575,
    "c": 0.18886,
    "h": 277.3
  },
  "luminance": 0.0413
}

Semantic roles & 50–950 ramp

primary
#30209E
secondary
#B4C258
accent
#E93FD4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #30209E

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

Preview Lab → · Contrast checker → · Palette generator →

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