#302B86#302B86

#302B86 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.146 H 278.4°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#302B86
RGBrgb(48, 43, 134)
HSLhsl(243, 51%, 35%)
HSVhsv(243, 68%, 53%)
CMYKcmyk(64.2%, 67.9%, 0%, 47.5%)
CIE-LABlab(23.92, 31.16, -50.28)
CIE-LCHlch(23.92, 59.15, 301.79°)
OKLaboklab(35.72% 0.0214 -0.1449)
OKLCHoklch(35.72% 0.146 278.4)
XYZxyz(6.3845, 4.0769, 23.0001)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B86 #81862B
analogous
#2B5386 #302B86 #5E2B86
triadic
#302B86 #86302B #2B8630
tetradic
#302B86 #862B53 #81862B #2B865E
square
#302B86 #862B53 #81862B #2B865E
split-complementary
#302B86 #865E2B #53862B
monochromatic
#0F0D29 #1F1C58 #302B86 #413AB4 #6660CC

Accessibility & contrast

On white

11.57
#302B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#302B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302B86
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B86#FFFFFF#000000##FFFFFF
##302B861.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #302b86;
/* rgb */ color: rgb(48, 43, 134);
/* oklch */ color: oklch(35.7% 0.146 278.4);
Tailwind
colors: {
  custom: {
    50: '#7365aa',
    500: '#302b86',
    950: '#000000',
  },
}
SCSS
$custom: #302b86;
$custom-light: #7365aa;
$custom-dark: #000000;
JSON
{
  "hex": "#302b86",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 243.297,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35721,
    "c": 0.14647,
    "h": 278.4
  },
  "luminance": 0.04077
}

Semantic roles & 50–950 ramp

primary
#302B86
secondary
#ADB25B
accent
#DB4DD3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #302B86

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

Preview Lab → · Contrast checker → · Palette generator →

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