#302094#302094

#302094 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.177 H 278.6°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#302094
RGBrgb(48, 32, 148)
HSLhsl(248, 64%, 35%)
HSVhsv(248, 78%, 58%)
CMYKcmyk(67.6%, 78.4%, 0%, 42%)
CIE-LABlab(23.00, 42.29, -60.51)
CIE-LCHlch(23.00, 73.82, 304.95°)
OKLaboklab(35.48% 0.0266 -0.1748)
OKLCHoklch(35.48% 0.177 278.6)
XYZxyz(7.0790, 3.7989, 28.3714)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302094 #849420
analogous
#204A94 #302094 #6A2094
triadic
#302094 #943020 #209430
tetradic
#302094 #94204A #849420 #20946A
square
#302094 #94204A #849420 #20946A
split-complementary
#302094 #946A20 #4A9420
monochromatic
#0F0A2F #201562 #302094 #402BC6 #6754DA

Accessibility & contrast

On white

11.93
#302094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#302094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302094
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302094#FFFFFF#000000##FFFFFF
##3020941.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B97
Deuteranopia (green-blind)
#003292
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #302094;
/* rgb */ color: rgb(48, 32, 148);
/* oklch */ color: oklch(35.5% 0.177 278.6);
Tailwind
colors: {
  custom: {
    50: '#775eb5',
    500: '#302094',
    950: '#000000',
  },
}
SCSS
$custom: #302094;
$custom-light: #775eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#302094",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 248.276,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35481,
    "c": 0.17677,
    "h": 278.6
  },
  "luminance": 0.038
}

Semantic roles & 50–950 ramp

primary
#302094
secondary
#AFBE52
accent
#E740D0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #302094

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

Preview Lab → · Contrast checker → · Palette generator →

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