#302DBC#302DBC

#302DBC is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.5% C 0.213 H 273.0°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#302DBC
RGBrgb(48, 45, 188)
HSLhsl(241, 61%, 46%)
HSVhsv(241, 76%, 74%)
CMYKcmyk(74.5%, 76.1%, 0%, 26.3%)
CIE-LABlab(29.75, 48.16, -73.50)
CIE-LCHlch(29.75, 87.88, 303.23°)
OKLaboklab(41.51% 0.011 -0.2127)
OKLCHoklch(41.51% 0.213 273)
XYZxyz(11.2314, 6.1348, 48.1594)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302DBC #B9BC2D
analogous
#2D71BC #302DBC #772DBC
triadic
#302DBC #BC302D #2DBC30
tetradic
#302DBC #BC2D71 #B9BC2D #2DBC77
square
#302DBC #BC2D71 #B9BC2D #2DBC77
split-complementary
#302DBC #BC772D #71BC2D
monochromatic
#171559 #23218B #302DBC #5451D5 #8482E1

Accessibility & contrast

On white

9.43
#302DBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302DBC
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302DBC#FFFFFF#000000##FFFFFF
##302DBC1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302dbc;
/* rgb */ color: rgb(48, 45, 188);
/* oklch */ color: oklch(41.5% 0.213 273.0);
Tailwind
colors: {
  custom: {
    50: '#7f68d2',
    500: '#302dbc',
    950: '#000000',
  },
}
SCSS
$custom: #302dbc;
$custom-light: #7f68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#302dbc",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 241.259,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41509,
    "c": 0.21299,
    "h": 273
  },
  "luminance": 0.06136
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #302DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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