#302C96#302C96

#302C96 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.167 H 276.4°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#302C96
RGBrgb(48, 44, 150)
HSLhsl(242, 55%, 38%)
HSVhsv(242, 71%, 59%)
CMYKcmyk(68%, 70.7%, 0%, 41.2%)
CIE-LABlab(25.66, 36.07, -57.36)
CIE-LCHlch(25.66, 67.76, 302.16°)
OKLaboklab(37.43% 0.0184 -0.1656)
OKLCHoklch(37.43% 0.167 276.4)
XYZxyz(7.6228, 4.6311, 29.3404)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C96 #92962C
analogous
#2C5D96 #302C96 #652C96
triadic
#302C96 #96302C #2C9630
tetradic
#302C96 #962C5D #92962C #2C9665
square
#302C96 #962C5D #92962C #2C9665
split-complementary
#302C96 #96652C #5D962C
monochromatic
#121037 #211E67 #302C96 #3F3AC5 #6D69D3

Accessibility & contrast

On white

10.90
#302C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#302C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C96
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C96#FFFFFF#000000##FFFFFF
##302C961.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #302c96;
/* rgb */ color: rgb(48, 44, 150);
/* oklch */ color: oklch(37.4% 0.167 276.4);
Tailwind
colors: {
  custom: {
    50: '#7766b6',
    500: '#302c96',
    950: '#000000',
  },
}
SCSS
$custom: #302c96;
$custom-light: #7766b6;
$custom-dark: #000000;
JSON
{
  "hex": "#302c96",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 242.264,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37433,
    "c": 0.16666,
    "h": 276.4
  },
  "luminance": 0.04632
}

Semantic roles & 50–950 ramp

primary
#302C96
secondary
#B7BA64
accent
#DE4AD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #302C96

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

Preview Lab → · Contrast checker → · Palette generator →

#302C96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva