#302B88#302B88

#302B88 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.149 H 278.2°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#302B88
RGBrgb(48, 43, 136)
HSLhsl(243, 52%, 35%)
HSVhsv(243, 68%, 53%)
CMYKcmyk(64.7%, 68.4%, 0%, 46.7%)
CIE-LABlab(24.11, 31.86, -51.23)
CIE-LCHlch(24.11, 60.33, 301.88°)
OKLaboklab(35.91% 0.0212 -0.1477)
OKLCHoklch(35.91% 0.149 278.2)
XYZxyz(6.5253, 4.1332, 23.7417)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B88 #83882B
analogous
#2B5488 #302B88 #5F2B88
triadic
#302B88 #88302B #2B8830
tetradic
#302B88 #882B54 #83882B #2B885F
square
#302B88 #882B54 #83882B #2B885F
split-complementary
#302B88 #885F2B #54882B
monochromatic
#0F0E2B #201C5A #302B88 #403AB6 #6661CD

Accessibility & contrast

On white

11.50
#302B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#302B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302B88
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B88#FFFFFF#000000##FFFFFF
##302B881.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #302b88;
/* rgb */ color: rgb(48, 43, 136);
/* oklch */ color: oklch(35.9% 0.149 278.2);
Tailwind
colors: {
  custom: {
    50: '#7465ac',
    500: '#302b88',
    950: '#000000',
  },
}
SCSS
$custom: #302b88;
$custom-light: #7465ac;
$custom-dark: #000000;
JSON
{
  "hex": "#302b88",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 243.226,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3591,
    "c": 0.1492,
    "h": 278.2
  },
  "luminance": 0.04134
}

Semantic roles & 50–950 ramp

primary
#302B88
secondary
#AEB35C
accent
#DB4CD4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #302B88

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

Preview Lab → · Contrast checker → · Palette generator →

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