#302F86#302F86

#302F86 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.141 H 277.3°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#302F86
RGBrgb(48, 47, 134)
HSLhsl(241, 48%, 35%)
HSVhsv(241, 65%, 53%)
CMYKcmyk(64.2%, 64.9%, 0%, 47.5%)
CIE-LABlab(24.90, 28.58, -48.69)
CIE-LCHlch(24.90, 56.46, 300.41°)
OKLaboklab(36.43% 0.0179 -0.1402)
OKLCHoklch(36.43% 0.141 277.3)
XYZxyz(6.5371, 4.3821, 23.0510)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F86 #85862F
analogous
#2F5986 #302F86 #5B2F86
triadic
#302F86 #86302F #2F8630
tetradic
#302F86 #862F59 #85862F #2F865B
square
#302F86 #862F59 #85862F #2F865B
split-complementary
#302F86 #865B2F #59862F
monochromatic
#100F2B #201F59 #302F86 #403FB3 #6766C9

Accessibility & contrast

On white

11.19
#302F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#302F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302F86
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F86#FFFFFF#000000##FFFFFF
##302F861.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #302f86;
/* rgb */ color: rgb(48, 47, 134);
/* oklch */ color: oklch(36.4% 0.141 277.3);
Tailwind
colors: {
  custom: {
    50: '#7368aa',
    500: '#302f86',
    950: '#000000',
  },
}
SCSS
$custom: #302f86;
$custom-light: #7368aa;
$custom-dark: #000000;
JSON
{
  "hex": "#302f86",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 240.69,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3643,
    "c": 0.14135,
    "h": 277.3
  },
  "luminance": 0.04383
}

Semantic roles & 50–950 ramp

primary
#302F86
secondary
#AFB060
accent
#D850D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #302F86

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

Preview Lab → · Contrast checker → · Palette generator →

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