#302F80#302F80

#302F80 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.133 H 277.9°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#302F80
RGBrgb(48, 47, 128)
HSLhsl(241, 46%, 34%)
HSVhsv(241, 63%, 50%)
CMYKcmyk(62.5%, 63.3%, 0%, 49.8%)
CIE-LABlab(24.38, 26.45, -45.76)
CIE-LCHlch(24.38, 52.85, 300.03°)
OKLaboklab(35.89% 0.0182 -0.1316)
OKLCHoklch(35.89% 0.133 277.9)
XYZxyz(6.1305, 4.2195, 20.9093)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F80 #7F802F
analogous
#2F5780 #302F80 #592F80
triadic
#302F80 #80302F #2F8030
tetradic
#302F80 #802F57 #7F802F #2F8059
square
#302F80 #802F57 #7F802F #2F8059
split-complementary
#302F80 #80592F #57802F
monochromatic
#0E0E26 #1F1F53 #302F80 #413FAD #6563C6

Accessibility & contrast

On white

11.39
#302F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#302F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302F80
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F80#FFFFFF#000000##FFFFFF
##302F801.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D83
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #302f80;
/* rgb */ color: rgb(48, 47, 128);
/* oklch */ color: oklch(35.9% 0.133 277.9);
Tailwind
colors: {
  custom: {
    50: '#7267a6',
    500: '#302f80',
    950: '#000000',
  },
}
SCSS
$custom: #302f80;
$custom-light: #7267a6;
$custom-dark: #000000;
JSON
{
  "hex": "#302f80",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 240.741,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35894,
    "c": 0.13288,
    "h": 277.9
  },
  "luminance": 0.0422
}

Semantic roles & 50–950 ramp

primary
#302F80
secondary
#ACAD5E
accent
#D652D4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #302F80

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

Preview Lab → · Contrast checker → · Palette generator →

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