#302F88#302F88

#302F88 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.144 H 277.1°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#302F88
RGBrgb(48, 47, 136)
HSLhsl(241, 49%, 36%)
HSVhsv(241, 65%, 53%)
CMYKcmyk(64.7%, 65.4%, 0%, 46.7%)
CIE-LABlab(25.07, 29.29, -49.65)
CIE-LCHlch(25.07, 57.65, 300.54°)
OKLaboklab(36.61% 0.0177 -0.143)
OKLCHoklch(36.61% 0.144 277.1)
XYZxyz(6.6779, 4.4384, 23.7926)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F88 #87882F
analogous
#2F5A88 #302F88 #5C2F88
triadic
#302F88 #88302F #2F8830
tetradic
#302F88 #882F5A #87882F #2F885C
square
#302F88 #882F5A #87882F #2F885C
split-complementary
#302F88 #885C2F #5A882F
monochromatic
#10102D #201F5B #302F88 #403FB5 #6867CA

Accessibility & contrast

On white

11.12
#302F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#302F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302F88
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F88#FFFFFF#000000##FFFFFF
##302F881.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #302f88;
/* rgb */ color: rgb(48, 47, 136);
/* oklch */ color: oklch(36.6% 0.144 277.1);
Tailwind
colors: {
  custom: {
    50: '#7368ab',
    500: '#302f88',
    950: '#000000',
  },
}
SCSS
$custom: #302f88;
$custom-light: #7368ab;
$custom-dark: #000000;
JSON
{
  "hex": "#302f88",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 240.674,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36612,
    "c": 0.14414,
    "h": 277.1
  },
  "luminance": 0.04439
}

Semantic roles & 50–950 ramp

primary
#302F88
secondary
#B1B161
accent
#D850D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #302F88

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

Preview Lab → · Contrast checker → · Palette generator →

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