#302D91#302D91

#302D91 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.159 H 276.7°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#302D91
RGBrgb(48, 45, 145)
HSLhsl(242, 53%, 37%)
HSVhsv(242, 69%, 57%)
CMYKcmyk(66.9%, 69%, 0%, 43.1%)
CIE-LABlab(25.41, 33.72, -54.69)
CIE-LCHlch(25.41, 64.25, 301.66°)
OKLaboklab(37.11% 0.0184 -0.1578)
OKLCHoklch(37.11% 0.159 276.7)
XYZxyz(7.2665, 4.5489, 27.2777)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302D91 #8E912D
analogous
#2D5C91 #302D91 #622D91
triadic
#302D91 #91302D #2D9130
tetradic
#302D91 #912D5C #8E912D #2D9162
square
#302D91 #912D5C #8E912D #2D9162
split-complementary
#302D91 #91622D #5C912D
monochromatic
#111034 #211F62 #302D91 #3F3BC0 #6B68D0

Accessibility & contrast

On white

11.00
#302D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#302D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302D91
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302D91#FFFFFF#000000##FFFFFF
##302D911.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302d91;
/* rgb */ color: rgb(48, 45, 145);
/* oklch */ color: oklch(37.1% 0.159 276.7);
Tailwind
colors: {
  custom: {
    50: '#7566b2',
    500: '#302d91',
    950: '#000000',
  },
}
SCSS
$custom: #302d91;
$custom-light: #7566b2;
$custom-dark: #000000;
JSON
{
  "hex": "#302d91",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 241.8,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37109,
    "c": 0.15888,
    "h": 276.7
  },
  "luminance": 0.04549
}

Semantic roles & 50–950 ramp

primary
#302D91
secondary
#B4B763
accent
#DC4CD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #302D91

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

Preview Lab → · Contrast checker → · Palette generator →

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