#302083#302083

#302083 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.155 H 281.4°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#302083
RGBrgb(48, 32, 131)
HSLhsl(250, 61%, 32%)
HSVhsv(250, 76%, 51%)
CMYKcmyk(63.4%, 75.6%, 0%, 48.6%)
CIE-LABlab(21.21, 36.83, -52.85)
CIE-LCHlch(21.21, 64.42, 304.87°)
OKLaboklab(33.68% 0.0308 -0.1524)
OKLCHoklch(33.68% 0.155 281.4)
XYZxyz(5.8309, 3.2997, 21.7980)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302083 #738320
analogous
#204283 #302083 #622083
triadic
#302083 #833020 #208330
tetradic
#302083 #832042 #738320 #208362
square
#302083 #832042 #738320 #208362
split-complementary
#302083 #836220 #428320
monochromatic
#0C0821 #1E1452 #302083 #422CB4 #614AD3

Accessibility & contrast

On white

12.65
#302083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#302083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302083
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302083#FFFFFF#000000##FFFFFF
##3020831.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #302083;
/* rgb */ color: rgb(48, 32, 131);
/* oklch */ color: oklch(33.7% 0.155 281.4);
Tailwind
colors: {
  custom: {
    50: '#745ea8',
    500: '#302083',
    950: '#000000',
  },
}
SCSS
$custom: #302083;
$custom-light: #745ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#302083",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 249.697,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33685,
    "c": 0.15549,
    "h": 281.4
  },
  "luminance": 0.033
}

Semantic roles & 50–950 ramp

primary
#302083
secondary
#A4B649
accent
#E444CA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #302083

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

Preview Lab → · Contrast checker → · Palette generator →

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