#302CA0#302CA0

#302CA0 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.180 H 275.4°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#302CA0
RGBrgb(48, 44, 160)
HSLhsl(242, 57%, 40%)
HSVhsv(242, 73%, 63%)
CMYKcmyk(70%, 72.5%, 0%, 37.3%)
CIE-LABlab(26.64, 39.47, -61.85)
CIE-LCHlch(26.64, 73.38, 302.54°)
OKLaboklab(38.44% 0.0168 -0.1788)
OKLCHoklch(38.44% 0.18 275.4)
XYZxyz(8.4627, 4.9670, 33.7636)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302CA0 #9CA02C
analogous
#2C62A0 #302CA0 #6A2CA0
triadic
#302CA0 #A0302C #2CA030
tetradic
#302CA0 #A02C62 #9CA02C #2CA06A
square
#302CA0 #A02C62 #9CA02C #2CA06A
split-complementary
#302CA0 #A06A2C #62A02C
monochromatic
#131240 #221F70 #302CA0 #443FCA #736FD7

Accessibility & contrast

On white

10.53
#302CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#302CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302CA0
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302CA0#FFFFFF#000000##FFFFFF
##302CA01.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #302ca0;
/* rgb */ color: rgb(48, 44, 160);
/* oklch */ color: oklch(38.4% 0.180 275.4);
Tailwind
colors: {
  custom: {
    50: '#7966bd',
    500: '#302ca0',
    950: '#000000',
  },
}
SCSS
$custom: #302ca0;
$custom-light: #7966bd;
$custom-dark: #000000;
JSON
{
  "hex": "#302ca0",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 242.069,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.38436,
    "c": 0.17955,
    "h": 275.4
  },
  "luminance": 0.04968
}

Semantic roles & 50–950 ramp

primary
#302CA0
secondary
#BCBF69
accent
#E048DB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #302CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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