#302FA0#302FA0

#302FA0 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.176 H 274.9°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#302FA0
RGBrgb(48, 47, 160)
HSLhsl(241, 55%, 41%)
HSVhsv(241, 71%, 63%)
CMYKcmyk(70%, 70.6%, 0%, 37.3%)
CIE-LABlab(27.29, 37.67, -60.78)
CIE-LCHlch(27.29, 71.51, 301.79°)
OKLaboklab(38.9% 0.0149 -0.1756)
OKLCHoklch(38.9% 0.176 274.9)
XYZxyz(8.5785, 5.1987, 33.8022)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302FA0 #9FA02F
analogous
#2F66A0 #302FA0 #682FA0
triadic
#302FA0 #A0302F #2FA030
tetradic
#302FA0 #A02F66 #9FA02F #2FA068
square
#302FA0 #A02F66 #9FA02F #2FA068
split-complementary
#302FA0 #A0682F #66A02F
monochromatic
#141341 #222171 #302FA0 #4544C8 #7473D6

Accessibility & contrast

On white

10.30
#302FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#302FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302FA0
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302FA0#FFFFFF#000000##FFFFFF
##302FA01.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#003B9E
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #302fa0;
/* rgb */ color: rgb(48, 47, 160);
/* oklch */ color: oklch(38.9% 0.176 274.9);
Tailwind
colors: {
  custom: {
    50: '#7868bd',
    500: '#302fa0',
    950: '#000000',
  },
}
SCSS
$custom: #302fa0;
$custom-light: #7868bd;
$custom-dark: #000000;
JSON
{
  "hex": "#302fa0",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 240.531,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38903,
    "c": 0.17627,
    "h": 274.9
  },
  "luminance": 0.05199
}

Semantic roles & 50–950 ramp

primary
#302FA0
secondary
#BDBE6D
accent
#DE4ADD
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #302FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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