#302091#302091

#302091 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.173 H 279.1°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#302091
RGBrgb(48, 32, 145)
HSLhsl(248, 64%, 35%)
HSVhsv(248, 78%, 57%)
CMYKcmyk(66.9%, 77.9%, 0%, 43.1%)
CIE-LABlab(22.67, 41.33, -59.19)
CIE-LCHlch(22.67, 72.19, 304.93°)
OKLaboklab(35.16% 0.0273 -0.1709)
OKLCHoklch(35.16% 0.173 279.1)
XYZxyz(6.8446, 3.7052, 27.1370)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302091 #819120
analogous
#204891 #302091 #692091
triadic
#302091 #913020 #209130
tetradic
#302091 #912048 #819120 #209169
square
#302091 #912048 #819120 #209169
split-complementary
#302091 #916920 #489120
monochromatic
#0F0A2D #1F155F #302091 #412BC3 #6652D9

Accessibility & contrast

On white

12.06
#302091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#302091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302091
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302091#FFFFFF#000000##FFFFFF
##3020911.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A94
Deuteranopia (green-blind)
#00328F
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #302091;
/* rgb */ color: rgb(48, 32, 145);
/* oklch */ color: oklch(35.2% 0.173 279.1);
Tailwind
colors: {
  custom: {
    50: '#775eb2',
    500: '#302091',
    950: '#000000',
  },
}
SCSS
$custom: #302091;
$custom-light: #775eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#302091",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 248.496,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35158,
    "c": 0.17308,
    "h": 279.1
  },
  "luminance": 0.03706
}

Semantic roles & 50–950 ramp

primary
#302091
secondary
#ADBC51
accent
#E741CF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #302091

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

Preview Lab → · Contrast checker → · Palette generator →

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