#302AB0#302AB0

#302AB0 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.8% C 0.201 H 274.2°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#302AB0
RGBrgb(48, 42, 176)
HSLhsl(243, 61%, 43%)
HSVhsv(243, 76%, 69%)
CMYKcmyk(72.7%, 76.1%, 0%, 31%)
CIE-LABlab(27.89, 45.90, -69.44)
CIE-LCHlch(27.89, 83.24, 303.47°)
OKLaboklab(39.82% 0.0148 -0.2008)
OKLCHoklch(39.82% 0.201 274.2)
XYZxyz(9.8808, 5.4179, 41.5909)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302AB0 #AAB02A
analogous
#2A67B0 #302AB0 #732AB0
triadic
#302AB0 #B0302A #2AB030
tetradic
#302AB0 #B02A67 #AAB02A #2AB073
square
#302AB0 #B02A67 #AAB02A #2AB073
split-complementary
#302AB0 #B0732A #67B02A
monochromatic
#15124D #231E7F #302AB0 #4B45D3 #7B76DE

Accessibility & contrast

On white

10.08
#302AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#302AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302AB0
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302AB0#FFFFFF#000000##FFFFFF
##302AB01.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#003BAE
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #302ab0;
/* rgb */ color: rgb(48, 42, 176);
/* oklch */ color: oklch(39.8% 0.201 274.2);
Tailwind
colors: {
  custom: {
    50: '#7d66c9',
    500: '#302ab0',
    950: '#000000',
  },
}
SCSS
$custom: #302ab0;
$custom-light: #7d66c9;
$custom-dark: #000000;
JSON
{
  "hex": "#302ab0",
  "rgb": {
    "r": 48,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 242.687,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.3982,
    "c": 0.20138,
    "h": 274.2
  },
  "luminance": 0.05419
}

Semantic roles & 50–950 ramp

primary
#302AB0
secondary
#C2C670
accent
#E543DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #302AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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