#302CB6#302CB6

#302CB6 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.7% C 0.207 H 273.5°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#302CB6
RGBrgb(48, 44, 182)
HSLhsl(242, 61%, 44%)
HSVhsv(242, 76%, 71%)
CMYKcmyk(73.6%, 75.8%, 0%, 28.6%)
CIE-LABlab(28.92, 46.76, -71.32)
CIE-LCHlch(28.92, 85.28, 303.25°)
OKLaboklab(40.73% 0.0127 -0.2063)
OKLCHoklch(40.73% 0.207 273.5)
XYZxyz(10.5603, 5.8061, 44.8110)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302CB6 #B2B62C
analogous
#2C6DB6 #302CB6 #752CB6
triadic
#302CB6 #B6302C #2CB630
tetradic
#302CB6 #B62C6D #B2B62C #2CB675
square
#302CB6 #B62C6D #B2B62C #2CB675
split-complementary
#302CB6 #B6752C #6DB62C
monochromatic
#161453 #232085 #302CB6 #504CD4 #807DE0

Accessibility & contrast

On white

9.72
#302CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#302CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302CB6
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302CB6#FFFFFF#000000##FFFFFF
##302CB61.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#003DB4
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #302cb6;
/* rgb */ color: rgb(48, 44, 182);
/* oklch */ color: oklch(40.7% 0.207 273.5);
Tailwind
colors: {
  custom: {
    50: '#7e67cd',
    500: '#302cb6',
    950: '#000000',
  },
}
SCSS
$custom: #302cb6;
$custom-light: #7e67cd;
$custom-dark: #000000;
JSON
{
  "hex": "#302cb6",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 241.739,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40732,
    "c": 0.20674,
    "h": 273.5
  },
  "luminance": 0.05807
}

Semantic roles & 50–950 ramp

primary
#302CB6
secondary
#C6C876
accent
#E444E0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #302CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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