#302BCE#302BCE

#302BCE is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.2% C 0.236 H 271.9°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#302BCE
RGBrgb(48, 43, 206)
HSLhsl(242, 65%, 49%)
HSVhsv(242, 79%, 81%)
CMYKcmyk(76.7%, 79.1%, 0%, 19.2%)
CIE-LABlab(31.37, 54.87, -81.37)
CIE-LCHlch(31.37, 98.14, 303.99°)
OKLaboklab(43.23% 0.008 -0.2355)
OKLCHoklch(43.23% 0.236 271.9)
XYZxyz(13.2196, 6.8109, 58.9985)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302BCE #C9CE2B
analogous
#2B78CE #302BCE #812BCE
triadic
#302BCE #CE302B #2BCE30
tetradic
#302BCE #CE2B78 #C9CE2B #2BCE81
square
#302BCE #CE2B78 #C9CE2B #2BCE81
split-complementary
#302BCE #CE812B #78CE2B
monochromatic
#181669 #24209B #302BCE #5E5ADC #8F8CE7

Accessibility & contrast

On white

8.89
#302BCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#302BCE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302BCE
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302BCE#FFFFFF#000000##FFFFFF
##302BCE1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052D3
Deuteranopia (green-blind)
#0042CB
Tritanopia (blue-blind)
#005E7D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #302bce;
/* rgb */ color: rgb(48, 43, 206);
/* oklch */ color: oklch(43.2% 0.236 271.9);
Tailwind
colors: {
  custom: {
    50: '#8468de',
    500: '#302bce',
    950: '#000000',
  },
}
SCSS
$custom: #302bce;
$custom-light: #8468de;
$custom-dark: #000000;
JSON
{
  "hex": "#302bce",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 206
  },
  "hsl": {
    "h": 241.84,
    "s": 65.462,
    "l": 48.824
  },
  "oklch": {
    "l": 0.43227,
    "c": 0.23566,
    "h": 271.9
  },
  "luminance": 0.06812
}

Semantic roles & 50–950 ramp

primary
#302BCE
secondary
#CFD184
accent
#E83FE3
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #302BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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