#302F85#302F85

#302F85 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.140 H 277.4°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#302F85
RGBrgb(48, 47, 133)
HSLhsl(241, 48%, 35%)
HSVhsv(241, 65%, 52%)
CMYKcmyk(63.9%, 64.7%, 0%, 47.8%)
CIE-LABlab(24.81, 28.22, -48.20)
CIE-LCHlch(24.81, 55.86, 300.35°)
OKLaboklab(36.34% 0.0179 -0.1388)
OKLCHoklch(36.34% 0.14 277.4)
XYZxyz(6.4677, 4.3544, 22.6854)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F85 #84852F
analogous
#2F5985 #302F85 #5B2F85
triadic
#302F85 #85302F #2F8530
tetradic
#302F85 #852F59 #84852F #2F855B
square
#302F85 #852F59 #84852F #2F855B
split-complementary
#302F85 #855B2F #59852F
monochromatic
#0F0F2B #201F58 #302F85 #403FB2 #6766C9

Accessibility & contrast

On white

11.22
#302F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#302F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302F85
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F85#FFFFFF#000000##FFFFFF
##302F851.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003783
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #302f85;
/* rgb */ color: rgb(48, 47, 133);
/* oklch */ color: oklch(36.3% 0.140 277.4);
Tailwind
colors: {
  custom: {
    50: '#7368a9',
    500: '#302f85',
    950: '#000000',
  },
}
SCSS
$custom: #302f85;
$custom-light: #7368a9;
$custom-dark: #000000;
JSON
{
  "hex": "#302f85",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 240.698,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3634,
    "c": 0.13995,
    "h": 277.4
  },
  "luminance": 0.04355
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #302F85

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

Preview Lab → · Contrast checker → · Palette generator →

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