#302E86#302E86

#302E86 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.143 H 277.6°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#302E86
RGBrgb(48, 46, 134)
HSLhsl(241, 49%, 35%)
HSVhsv(241, 66%, 53%)
CMYKcmyk(64.2%, 65.7%, 0%, 47.5%)
CIE-LABlab(24.65, 29.23, -49.09)
CIE-LCHlch(24.65, 57.14, 300.77°)
OKLaboklab(36.25% 0.0188 -0.1414)
OKLCHoklch(36.25% 0.143 277.6)
XYZxyz(6.4976, 4.3031, 23.0378)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E86 #84862E
analogous
#2E5886 #302E86 #5C2E86
triadic
#302E86 #86302E #2E8630
tetradic
#302E86 #862E58 #84862E #2E865C
square
#302E86 #862E58 #84862E #2E865C
split-complementary
#302E86 #865C2E #58862E
monochromatic
#0F0F2B #201E58 #302E86 #403EB4 #6764CA

Accessibility & contrast

On white

11.29
#302E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#302E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302E86
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E86#FFFFFF#000000##FFFFFF
##302E861.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #302e86;
/* rgb */ color: rgb(48, 46, 134);
/* oklch */ color: oklch(36.2% 0.143 277.6);
Tailwind
colors: {
  custom: {
    50: '#7367aa',
    500: '#302e86',
    950: '#000000',
  },
}
SCSS
$custom: #302e86;
$custom-light: #7367aa;
$custom-dark: #000000;
JSON
{
  "hex": "#302e86",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 241.364,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36249,
    "c": 0.14265,
    "h": 277.6
  },
  "luminance": 0.04304
}

Semantic roles & 50–950 ramp

primary
#302E86
secondary
#AFB15F
accent
#D84FD5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #302E86

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

Preview Lab → · Contrast checker → · Palette generator →

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