#302E91#302E91

#302E91 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.158 H 276.4°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#302E91
RGBrgb(48, 46, 145)
HSLhsl(241, 52%, 37%)
HSVhsv(241, 68%, 57%)
CMYKcmyk(66.9%, 68.3%, 0%, 43.1%)
CIE-LABlab(25.64, 33.09, -54.30)
CIE-LCHlch(25.64, 63.59, 301.36°)
OKLaboklab(37.28% 0.0176 -0.1567)
OKLCHoklch(37.28% 0.158 276.4)
XYZxyz(7.3051, 4.6261, 27.2905)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E91 #8F912E
analogous
#2E5E91 #302E91 #612E91
triadic
#302E91 #91302E #2E9130
tetradic
#302E91 #912E5E #8F912E #2E9161
square
#302E91 #912E5E #8F912E #2E9161
split-complementary
#302E91 #91612E #5E912E
monochromatic
#111134 #211F63 #302E91 #3F3DBF #6C6AD0

Accessibility & contrast

On white

10.91
#302E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#302E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302E91
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E91#FFFFFF#000000##FFFFFF
##302E911.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #302e91;
/* rgb */ color: rgb(48, 46, 145);
/* oklch */ color: oklch(37.3% 0.158 276.4);
Tailwind
colors: {
  custom: {
    50: '#7567b2',
    500: '#302e91',
    950: '#000000',
  },
}
SCSS
$custom: #302e91;
$custom-light: #7567b2;
$custom-dark: #000000;
JSON
{
  "hex": "#302e91",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 241.212,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37277,
    "c": 0.15768,
    "h": 276.4
  },
  "luminance": 0.04627
}

Semantic roles & 50–950 ramp

primary
#302E91
secondary
#B5B764
accent
#DB4DD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #302E91

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

Preview Lab → · Contrast checker → · Palette generator →

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