#302085#302085

#302085 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.158 H 281.1°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#302085
RGBrgb(48, 32, 133)
HSLhsl(250, 61%, 32%)
HSVhsv(250, 76%, 52%)
CMYKcmyk(63.9%, 75.9%, 0%, 47.8%)
CIE-LABlab(21.41, 37.48, -53.77)
CIE-LCHlch(21.41, 65.54, 304.87°)
OKLaboklab(33.89% 0.0303 -0.1551)
OKLCHoklch(33.89% 0.158 281.1)
XYZxyz(5.9677, 3.3544, 22.5187)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302085 #758520
analogous
#204385 #302085 #632085
triadic
#302085 #853020 #208530
tetradic
#302085 #852043 #758520 #208563
square
#302085 #852043 #758520 #208563
split-complementary
#302085 #856320 #438520
monochromatic
#0C0822 #1E1454 #302085 #422CB6 #614CD4

Accessibility & contrast

On white

12.57
#302085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#302085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302085
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302085#FFFFFF#000000##FFFFFF
##3020851.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #302085;
/* rgb */ color: rgb(48, 32, 133);
/* oklch */ color: oklch(33.9% 0.158 281.1);
Tailwind
colors: {
  custom: {
    50: '#745eaa',
    500: '#302085',
    950: '#000000',
  },
}
SCSS
$custom: #302085;
$custom-light: #745eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#302085",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 249.505,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33892,
    "c": 0.15805,
    "h": 281.1
  },
  "luminance": 0.03355
}

Semantic roles & 50–950 ramp

primary
#302085
secondary
#A5B74A
accent
#E443CB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #302085

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

Preview Lab → · Contrast checker → · Palette generator →

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