#302985#302985

#302985 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.148 H 279.1°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#302985
RGBrgb(48, 41, 133)
HSLhsl(245, 53%, 34%)
HSVhsv(245, 69%, 52%)
CMYKcmyk(63.9%, 69.2%, 0%, 47.8%)
CIE-LABlab(23.36, 32.09, -50.57)
CIE-LCHlch(23.36, 59.89, 302.39°)
OKLaboklab(35.29% 0.0233 -0.1458)
OKLCHoklch(35.29% 0.148 279.1)
XYZxyz(6.2441, 3.9072, 22.6109)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302985 #7E8529
analogous
#295085 #302985 #5E2985
triadic
#302985 #853029 #298530
tetradic
#302985 #852950 #7E8529 #29855E
square
#302985 #852950 #7E8529 #29855E
split-complementary
#302985 #855E29 #508529
monochromatic
#0E0C27 #1F1B56 #302985 #4137B4 #645CCD

Accessibility & contrast

On white

11.79
#302985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#302985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302985
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302985#FFFFFF#000000##FFFFFF
##3029851.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #302985;
/* rgb */ color: rgb(48, 41, 133);
/* oklch */ color: oklch(35.3% 0.148 279.1);
Tailwind
colors: {
  custom: {
    50: '#7363a9',
    500: '#302985',
    950: '#000000',
  },
}
SCSS
$custom: #302985;
$custom-light: #7363a9;
$custom-dark: #000000;
JSON
{
  "hex": "#302985",
  "rgb": {
    "r": 48,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 244.565,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35287,
    "c": 0.1476,
    "h": 279.1
  },
  "luminance": 0.03908
}

Semantic roles & 50–950 ramp

primary
#302985
secondary
#ABB258
accent
#DC4CD1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #302985

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

Preview Lab → · Contrast checker → · Palette generator →

#302985 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva