#302DB0#302DB0

#302DB0 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.2% C 0.198 H 273.9°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#302DB0
RGBrgb(48, 45, 176)
HSLhsl(241, 59%, 43%)
HSVhsv(241, 74%, 69%)
CMYKcmyk(72.7%, 74.4%, 0%, 31%)
CIE-LABlab(28.48, 44.24, -68.46)
CIE-LCHlch(28.48, 81.51, 302.87°)
OKLaboklab(40.24% 0.0134 -0.198)
OKLCHoklch(40.24% 0.198 273.9)
XYZxyz(9.9912, 5.6387, 41.6277)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302DB0 #ADB02D
analogous
#2D6BB0 #302DB0 #712DB0
triadic
#302DB0 #B0302D #2DB030
tetradic
#302DB0 #B02D6B #ADB02D #2DB071
square
#302DB0 #B02D6B #ADB02D #2DB071
split-complementary
#302DB0 #B0712D #6BB02D
monochromatic
#15144F #23217F #302DB0 #4D4AD1 #7D7ADD

Accessibility & contrast

On white

9.87
#302DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#302DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302DB0
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302DB0#FFFFFF#000000##FFFFFF
##302DB01.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #302db0;
/* rgb */ color: rgb(48, 45, 176);
/* oklch */ color: oklch(40.2% 0.198 273.9);
Tailwind
colors: {
  custom: {
    50: '#7c68c9',
    500: '#302db0',
    950: '#000000',
  },
}
SCSS
$custom: #302db0;
$custom-light: #7c68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#302db0",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 241.374,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40236,
    "c": 0.19849,
    "h": 273.9
  },
  "luminance": 0.0564
}

Semantic roles & 50–950 ramp

primary
#302DB0
secondary
#C3C573
accent
#E245DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #302DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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