#302089#302089

#302089 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.163 H 280.4°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#302089
RGBrgb(48, 32, 137)
HSLhsl(249, 62%, 33%)
HSVhsv(249, 77%, 54%)
CMYKcmyk(65%, 76.6%, 0%, 46.3%)
CIE-LABlab(21.83, 38.77, -55.60)
CIE-LCHlch(21.83, 67.78, 304.89°)
OKLaboklab(34.31% 0.0294 -0.1604)
OKLCHoklch(34.31% 0.163 280.4)
XYZxyz(6.2494, 3.4671, 24.0019)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302089 #798920
analogous
#204489 #302089 #642089
triadic
#302089 #893020 #208930
tetradic
#302089 #892044 #798920 #208964
square
#302089 #892044 #798920 #208964
split-complementary
#302089 #896420 #448920
monochromatic
#0D0926 #1F1457 #302089 #412CBB #624ED6

Accessibility & contrast

On white

12.40
#302089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#302089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302089
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302089#FFFFFF#000000##FFFFFF
##3020891.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #302089;
/* rgb */ color: rgb(48, 32, 137);
/* oklch */ color: oklch(34.3% 0.163 280.4);
Tailwind
colors: {
  custom: {
    50: '#755eac',
    500: '#302089',
    950: '#000000',
  },
}
SCSS
$custom: #302089;
$custom-light: #755eac;
$custom-dark: #000000;
JSON
{
  "hex": "#302089",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 249.143,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34309,
    "c": 0.16312,
    "h": 280.4
  },
  "luminance": 0.03468
}

Semantic roles & 50–950 ramp

primary
#302089
secondary
#A8B94C
accent
#E543CC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #302089

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

Preview Lab → · Contrast checker → · Palette generator →

#302089 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva