#302092#302092

#302092 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.174 H 278.9°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#302092
RGBrgb(48, 32, 146)
HSLhsl(248, 64%, 35%)
HSVhsv(248, 78%, 57%)
CMYKcmyk(67.1%, 78.1%, 0%, 42.7%)
CIE-LABlab(22.78, 41.65, -59.63)
CIE-LCHlch(22.78, 72.73, 304.93°)
OKLaboklab(35.27% 0.0271 -0.1722)
OKLCHoklch(35.27% 0.174 278.9)
XYZxyz(6.9221, 3.7362, 27.5449)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302092 #829220
analogous
#204992 #302092 #692092
triadic
#302092 #923020 #209230
tetradic
#302092 #922049 #829220 #209269
square
#302092 #922049 #829220 #209269
split-complementary
#302092 #926920 #499220
monochromatic
#0F0A2E #1F1560 #302092 #412BC4 #6653D9

Accessibility & contrast

On white

12.02
#302092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#302092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302092
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302092#FFFFFF#000000##FFFFFF
##3020921.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003290
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #302092;
/* rgb */ color: rgb(48, 32, 146);
/* oklch */ color: oklch(35.3% 0.174 278.9);
Tailwind
colors: {
  custom: {
    50: '#775eb3',
    500: '#302092',
    950: '#000000',
  },
}
SCSS
$custom: #302092;
$custom-light: #775eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#302092",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 248.421,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35266,
    "c": 0.17431,
    "h": 278.9
  },
  "luminance": 0.03737
}

Semantic roles & 50–950 ramp

primary
#302092
secondary
#AEBD51
accent
#E741D0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #302092

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

Preview Lab → · Contrast checker → · Palette generator →

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