#302194#302194

#302194 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.176 H 278.5°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#302194
RGBrgb(48, 33, 148)
HSLhsl(248, 64%, 35%)
HSVhsv(248, 78%, 58%)
CMYKcmyk(67.6%, 77.7%, 0%, 42%)
CIE-LABlab(23.18, 41.75, -60.20)
CIE-LCHlch(23.18, 73.27, 304.74°)
OKLaboklab(35.61% 0.026 -0.1739)
OKLCHoklch(35.61% 0.176 278.5)
XYZxyz(7.1064, 3.8536, 28.3806)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302194 #859421
analogous
#214B94 #302194 #692194
triadic
#302194 #943021 #219430
tetradic
#302194 #94214B #859421 #219469
square
#302194 #94214B #859421 #219469
split-complementary
#302194 #946921 #4B9421
monochromatic
#100B30 #201662 #302194 #402CC6 #6756D9

Accessibility & contrast

On white

11.86
#302194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#302194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302194
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302194#FFFFFF#000000##FFFFFF
##3021941.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #302194;
/* rgb */ color: rgb(48, 33, 148);
/* oklch */ color: oklch(35.6% 0.176 278.5);
Tailwind
colors: {
  custom: {
    50: '#775fb5',
    500: '#302194',
    950: '#000000',
  },
}
SCSS
$custom: #302194;
$custom-light: #775fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#302194",
  "rgb": {
    "r": 48,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 247.826,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35612,
    "c": 0.17581,
    "h": 278.5
  },
  "luminance": 0.03854
}

Semantic roles & 50–950 ramp

primary
#302194
secondary
#AFBD54
accent
#E741D1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #302194

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

Preview Lab → · Contrast checker → · Palette generator →

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