#302088#302088

#302088 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.162 H 280.5°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#302088
RGBrgb(48, 32, 136)
HSLhsl(249, 62%, 33%)
HSVhsv(249, 76%, 53%)
CMYKcmyk(64.7%, 76.5%, 0%, 46.7%)
CIE-LABlab(21.72, 38.45, -55.15)
CIE-LCHlch(21.72, 67.22, 304.88°)
OKLaboklab(34.2% 0.0296 -0.1591)
OKLCHoklch(34.2% 0.162 280.5)
XYZxyz(6.1780, 3.4385, 23.6259)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302088 #788820
analogous
#204488 #302088 #642088
triadic
#302088 #883020 #208830
tetradic
#302088 #882044 #788820 #208864
square
#302088 #882044 #788820 #208864
split-complementary
#302088 #886420 #448820
monochromatic
#0D0925 #1F1456 #302088 #412CBA #624DD5

Accessibility & contrast

On white

12.44
#302088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302088
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302088#FFFFFF#000000##FFFFFF
##3020881.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#003086
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #302088;
/* rgb */ color: rgb(48, 32, 136);
/* oklch */ color: oklch(34.2% 0.162 280.5);
Tailwind
colors: {
  custom: {
    50: '#755eac',
    500: '#302088',
    950: '#000000',
  },
}
SCSS
$custom: #302088;
$custom-light: #755eac;
$custom-dark: #000000;
JSON
{
  "hex": "#302088",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 249.231,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34204,
    "c": 0.16185,
    "h": 280.5
  },
  "luminance": 0.03439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #302088

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

Preview Lab → · Contrast checker → · Palette generator →

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