#302EA0#302EA0

#302EA0 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.177 H 275.0°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#302EA0
RGBrgb(48, 46, 160)
HSLhsl(241, 55%, 40%)
HSVhsv(241, 71%, 63%)
CMYKcmyk(70%, 71.2%, 0%, 37.3%)
CIE-LABlab(27.07, 38.28, -61.14)
CIE-LCHlch(27.07, 72.14, 302.05°)
OKLaboklab(38.75% 0.0156 -0.1767)
OKLCHoklch(38.75% 0.177 275)
XYZxyz(8.5390, 5.1196, 33.7891)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302EA0 #9EA02E
analogous
#2E65A0 #302EA0 #692EA0
triadic
#302EA0 #A0302E #2EA030
tetradic
#302EA0 #A02E65 #9EA02E #2EA069
square
#302EA0 #A02E65 #9EA02E #2EA069
split-complementary
#302EA0 #A0692E #65A02E
monochromatic
#131341 #222070 #302EA0 #4542C9 #7472D6

Accessibility & contrast

On white

10.38
#302EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#302EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302EA0
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302EA0#FFFFFF#000000##FFFFFF
##302EA01.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#003B9E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #302ea0;
/* rgb */ color: rgb(48, 46, 160);
/* oklch */ color: oklch(38.7% 0.177 275.0);
Tailwind
colors: {
  custom: {
    50: '#7968bd',
    500: '#302ea0',
    950: '#000000',
  },
}
SCSS
$custom: #302ea0;
$custom-light: #7968bd;
$custom-dark: #000000;
JSON
{
  "hex": "#302ea0",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 241.053,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38745,
    "c": 0.17737,
    "h": 275
  },
  "luminance": 0.0512
}

Semantic roles & 50–950 ramp

primary
#302EA0
secondary
#BDBE6C
accent
#DF49DC
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #302EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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