#30209B#30209B

#30209B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.2% C 0.185 H 277.7°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#30209B
RGBrgb(48, 32, 155)
HSLhsl(248, 66%, 37%)
HSVhsv(248, 79%, 61%)
CMYKcmyk(69%, 79.4%, 0%, 39.2%)
CIE-LABlab(23.76, 44.49, -63.55)
CIE-LCHlch(23.76, 77.58, 305.00°)
OKLaboklab(36.24% 0.0247 -0.1836)
OKLCHoklch(36.24% 0.185 277.7)
XYZxyz(7.6499, 4.0273, 31.3782)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30209B #8B9B20
analogous
#204E9B #30209B #6E209B
triadic
#30209B #9B3020 #209B30
tetradic
#30209B #9B204E #8B9B20 #209B6E
square
#30209B #9B204E #8B9B20 #209B6E
split-complementary
#30209B #9B6E20 #4E9B20
monochromatic
#110B36 #201668 #30209B #402ACE #6A59DD

Accessibility & contrast

On white

11.63
#30209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#30209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30209B
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30209B#FFFFFF#000000##FFFFFF
##30209B1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9E
Deuteranopia (green-blind)
#003399
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #30209b;
/* rgb */ color: rgb(48, 32, 155);
/* oklch */ color: oklch(36.2% 0.185 277.7);
Tailwind
colors: {
  custom: {
    50: '#795fba',
    500: '#30209b',
    950: '#000000',
  },
}
SCSS
$custom: #30209b;
$custom-light: #795fba;
$custom-dark: #000000;
JSON
{
  "hex": "#30209b",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 247.805,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36244,
    "c": 0.18526,
    "h": 277.7
  },
  "luminance": 0.04028
}

Semantic roles & 50–950 ramp

primary
#30209B
secondary
#B3C156
accent
#E93FD3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #30209B

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

Preview Lab → · Contrast checker → · Palette generator →

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