#302B94#302B94

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

Color values

HEX#302B94
RGBrgb(48, 43, 148)
HSLhsl(243, 55%, 37%)
HSVhsv(243, 71%, 58%)
CMYKcmyk(67.6%, 70.9%, 0%, 42%)
CIE-LABlab(25.24, 35.99, -56.81)
CIE-LCHlch(25.24, 67.26, 302.36°)
OKLaboklab(37.08% 0.0195 -0.164)
OKLCHoklch(37.08% 0.165 276.8)
XYZxyz(7.4264, 4.4936, 28.4872)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B94 #8F942B
analogous
#2B5B94 #302B94 #642B94
triadic
#302B94 #94302B #2B9430
tetradic
#302B94 #942B5B #8F942B #2B9464
square
#302B94 #942B5B #8F942B #2B9464
split-complementary
#302B94 #94642B #5B942B
monochromatic
#110F35 #211D65 #302B94 #3F39C3 #6C67D3

Accessibility & contrast

On white

11.06
#302B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#302B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302B94
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B94#FFFFFF#000000##FFFFFF
##302B941.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #302b94;
/* rgb */ color: rgb(48, 43, 148);
/* oklch */ color: oklch(37.1% 0.165 276.8);
Tailwind
colors: {
  custom: {
    50: '#7665b4',
    500: '#302b94',
    950: '#000000',
  },
}
SCSS
$custom: #302b94;
$custom-light: #7665b4;
$custom-dark: #000000;
JSON
{
  "hex": "#302b94",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 242.857,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37075,
    "c": 0.16519,
    "h": 276.8
  },
  "luminance": 0.04494
}

Semantic roles & 50–950 ramp

primary
#302B94
secondary
#B5B962
accent
#DE49D7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #302B94

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

Preview Lab → · Contrast checker → · Palette generator →

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