#30209D#30209D

#30209D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.5% C 0.188 H 277.4°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#30209D
RGBrgb(48, 32, 157)
HSLhsl(248, 66%, 37%)
HSVhsv(248, 80%, 62%)
CMYKcmyk(69.4%, 79.6%, 0%, 38.4%)
CIE-LABlab(23.98, 45.12, -64.41)
CIE-LCHlch(23.98, 78.64, 305.01°)
OKLaboklab(36.46% 0.0241 -0.1861)
OKLCHoklch(36.46% 0.188 277.4)
XYZxyz(7.8193, 4.0950, 32.2701)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30209D #8D9D20
analogous
#204F9D #30209D #6F209D
triadic
#30209D #9D3020 #209D30
tetradic
#30209D #9D204F #8D9D20 #209D6F
square
#30209D #9D204F #8D9D20 #209D6F
split-complementary
#30209D #9D6F20 #4F9D20
monochromatic
#110B37 #20166A #30209D #402AD0 #6B5ADD

Accessibility & contrast

On white

11.54
#30209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#30209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30209D
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30209D#FFFFFF#000000##FFFFFF
##30209D1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00349B
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #30209d;
/* rgb */ color: rgb(48, 32, 157);
/* oklch */ color: oklch(36.5% 0.188 277.4);
Tailwind
colors: {
  custom: {
    50: '#795fbb',
    500: '#30209d',
    950: '#000000',
  },
}
SCSS
$custom: #30209d;
$custom-light: #795fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#30209d",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 247.68,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36465,
    "c": 0.18767,
    "h": 277.4
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30209D

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

Preview Lab → · Contrast checker → · Palette generator →

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