#302EBB#302EBB

#302EBB is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.5% C 0.211 H 272.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#302EBB
RGBrgb(48, 46, 187)
HSLhsl(241, 61%, 46%)
HSVhsv(241, 75%, 73%)
CMYKcmyk(74.3%, 75.4%, 0%, 26.7%)
CIE-LABlab(29.84, 47.29, -72.77)
CIE-LCHlch(29.84, 86.79, 303.02°)
OKLaboklab(41.54% 0.0108 -0.2106)
OKLCHoklch(41.54% 0.211 272.9)
XYZxyz(11.1626, 6.1691, 47.6065)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302EBB #B9BB2E
analogous
#2E72BB #302EBB #762EBB
triadic
#302EBB #BB302E #2EBB30
tetradic
#302EBB #BB2E72 #B9BB2E #2EBB76
square
#302EBB #BB2E72 #B9BB2E #2EBB76
split-complementary
#302EBB #BB762E #72BB2E
monochromatic
#171659 #23228A #302EBB #5452D4 #8483E0

Accessibility & contrast

On white

9.40
#302EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#302EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302EBB
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302EBB#FFFFFF#000000##FFFFFF
##302EBB1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBF
Deuteranopia (green-blind)
#003FB9
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #302ebb;
/* rgb */ color: rgb(48, 46, 187);
/* oklch */ color: oklch(41.5% 0.211 272.9);
Tailwind
colors: {
  custom: {
    50: '#7f69d1',
    500: '#302ebb',
    950: '#000000',
  },
}
SCSS
$custom: #302ebb;
$custom-light: #7f69d1;
$custom-dark: #000000;
JSON
{
  "hex": "#302ebb",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 240.851,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41538,
    "c": 0.21086,
    "h": 272.9
  },
  "luminance": 0.0617
}

Semantic roles & 50–950 ramp

primary
#302EBB
secondary
#C9CA7B
accent
#E444E1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #302EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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