#302EB6#302EB6

#302EB6 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.0% C 0.205 H 273.3°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#302EB6
RGBrgb(48, 46, 182)
HSLhsl(241, 60%, 45%)
HSVhsv(241, 75%, 71%)
CMYKcmyk(73.6%, 74.7%, 0%, 28.6%)
CIE-LABlab(29.31, 45.66, -70.68)
CIE-LCHlch(29.31, 84.14, 302.86°)
OKLaboklab(41.01% 0.0117 -0.2045)
OKLCHoklch(41.01% 0.205 273.3)
XYZxyz(10.6366, 5.9587, 44.8365)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302EB6 #B4B62E
analogous
#2E70B6 #302EB6 #742EB6
triadic
#302EB6 #B6302E #2EB630
tetradic
#302EB6 #B62E70 #B4B62E #2EB674
square
#302EB6 #B62E70 #B4B62E #2EB674
split-complementary
#302EB6 #B6742E #70B62E
monochromatic
#161554 #232285 #302EB6 #514FD2 #8180DF

Accessibility & contrast

On white

9.58
#302EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#302EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302EB6
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302EB6#FFFFFF#000000##FFFFFF
##302EB61.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#003EB4
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #302eb6;
/* rgb */ color: rgb(48, 46, 182);
/* oklch */ color: oklch(41.0% 0.205 273.3);
Tailwind
colors: {
  custom: {
    50: '#7e69cd',
    500: '#302eb6',
    950: '#000000',
  },
}
SCSS
$custom: #302eb6;
$custom-light: #7e69cd;
$custom-dark: #000000;
JSON
{
  "hex": "#302eb6",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 240.882,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41008,
    "c": 0.20483,
    "h": 273.3
  },
  "luminance": 0.0596
}

Semantic roles & 50–950 ramp

primary
#302EB6
secondary
#C6C878
accent
#E345E0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #302EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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