#302F89#302F89

#302F89 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.146 H 277.0°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#302F89
RGBrgb(48, 47, 137)
HSLhsl(241, 49%, 36%)
HSVhsv(241, 66%, 54%)
CMYKcmyk(65%, 65.7%, 0%, 46.3%)
CIE-LABlab(25.16, 29.64, -50.13)
CIE-LCHlch(25.16, 58.24, 300.60°)
OKLaboklab(36.7% 0.0176 -0.1445)
OKLCHoklch(36.7% 0.146 277)
XYZxyz(6.7493, 4.4670, 24.1686)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F89 #88892F
analogous
#2F5B89 #302F89 #5D2F89
triadic
#302F89 #89302F #2F8930
tetradic
#302F89 #892F5B #88892F #2F895D
square
#302F89 #892F5B #88892F #2F895D
split-complementary
#302F89 #895D2F #5B892F
monochromatic
#10102E #201F5B #302F89 #403FB7 #6967CB

Accessibility & contrast

On white

11.09
#302F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302F89
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F89#FFFFFF#000000##FFFFFF
##302F891.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #302f89;
/* rgb */ color: rgb(48, 47, 137);
/* oklch */ color: oklch(36.7% 0.146 277.0);
Tailwind
colors: {
  custom: {
    50: '#7368ac',
    500: '#302f89',
    950: '#000000',
  },
}
SCSS
$custom: #302f89;
$custom-light: #7368ac;
$custom-dark: #000000;
JSON
{
  "hex": "#302f89",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 240.667,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36703,
    "c": 0.14553,
    "h": 277
  },
  "luminance": 0.04468
}

Semantic roles & 50–950 ramp

primary
#302F89
secondary
#B1B262
accent
#D84FD7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #302F89

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

Preview Lab → · Contrast checker → · Palette generator →

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