#302FD0#302FD0

#302FD0 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.9% C 0.235 H 271.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#302FD0
RGBrgb(48, 47, 208)
HSLhsl(240, 63%, 50%)
HSVhsv(240, 77%, 82%)
CMYKcmyk(76.9%, 77.4%, 0%, 18.4%)
CIE-LABlab(32.29, 53.48, -81.02)
CIE-LCHlch(32.29, 97.08, 303.43°)
OKLaboklab(43.93% 0.0063 -0.2345)
OKLCHoklch(43.93% 0.235 271.5)
XYZxyz(13.6168, 7.2140, 60.3371)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302FD0 #CFD02F
analogous
#2F7ED0 #302FD0 #812FD0
triadic
#302FD0 #D0302F #2FD030
tetradic
#302FD0 #D02F7E #CFD02F #2FD081
square
#302FD0 #D02F7E #CFD02F #2FD081
split-complementary
#302FD0 #D0812F #7ED02F
monochromatic
#19186C #24249E #302FD0 #6261DB #9393E7

Accessibility & contrast

On white

8.60
#302FD0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#302FD0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302FD0
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302FD0#FFFFFF#000000##FFFFFF
##302FD01.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054D5
Deuteranopia (green-blind)
#0044CD
Tritanopia (blue-blind)
#00607F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #302fd0;
/* rgb */ color: rgb(48, 47, 208);
/* oklch */ color: oklch(43.9% 0.235 271.5);
Tailwind
colors: {
  custom: {
    50: '#846be0',
    500: '#302fd0',
    950: '#000000',
  },
}
SCSS
$custom: #302fd0;
$custom-light: #846be0;
$custom-dark: #000000;
JSON
{
  "hex": "#302fd0",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 208
  },
  "hsl": {
    "h": 240.373,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.43933,
    "c": 0.23463,
    "h": 271.5
  },
  "luminance": 0.07215
}

Semantic roles & 50–950 ramp

primary
#302FD0
secondary
#D1D189
accent
#E642E5
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #302FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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