#302E9E#302E9E

#302E9E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.175 H 275.2°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#302E9E
RGBrgb(48, 46, 158)
HSLhsl(241, 55%, 40%)
HSVhsv(241, 71%, 62%)
CMYKcmyk(69.6%, 70.9%, 0%, 38%)
CIE-LABlab(26.88, 37.59, -60.25)
CIE-LCHlch(26.88, 71.01, 301.96°)
OKLaboklab(38.55% 0.0159 -0.1741)
OKLCHoklch(38.55% 0.175 275.2)
XYZxyz(8.3654, 5.0502, 32.8751)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E9E #9C9E2E
analogous
#2E649E #302E9E #682E9E
triadic
#302E9E #9E302E #2E9E30
tetradic
#302E9E #9E2E64 #9C9E2E #2E9E68
square
#302E9E #9E2E64 #9C9E2E #2E9E68
split-complementary
#302E9E #9E682E #649E2E
monochromatic
#13123F #22206F #302E9E #4441C8 #7371D6

Accessibility & contrast

On white

10.45
#302E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#302E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302E9E
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E9E#FFFFFF#000000##FFFFFF
##302E9E1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #302e9e;
/* rgb */ color: rgb(48, 46, 158);
/* oklch */ color: oklch(38.5% 0.175 275.2);
Tailwind
colors: {
  custom: {
    50: '#7868bc',
    500: '#302e9e',
    950: '#000000',
  },
}
SCSS
$custom: #302e9e;
$custom-light: #7868bc;
$custom-dark: #000000;
JSON
{
  "hex": "#302e9e",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 241.071,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.38545,
    "c": 0.1748,
    "h": 275.2
  },
  "luminance": 0.05051
}

Semantic roles & 50–950 ramp

primary
#302E9E
secondary
#BCBD6B
accent
#DE4ADC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #302E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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