#302BBF#302BBF

#302BBF is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.6% C 0.218 H 272.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#302BBF
RGBrgb(48, 43, 191)
HSLhsl(242, 63%, 46%)
HSVhsv(242, 77%, 75%)
CMYKcmyk(74.9%, 77.5%, 0%, 25.1%)
CIE-LABlab(29.70, 50.18, -75.35)
CIE-LCHlch(29.70, 90.53, 303.66°)
OKLaboklab(41.57% 0.0112 -0.218)
OKLCHoklch(41.57% 0.218 272.9)
XYZxyz(11.4836, 6.1165, 49.8555)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302BBF #BABF2B
analogous
#2B70BF #302BBF #7A2BBF
triadic
#302BBF #BF302B #2BBF30
tetradic
#302BBF #BF2B70 #BABF2B #2BBF7A
square
#302BBF #BF2B70 #BABF2B #2BBF7A
split-complementary
#302BBF #BF7A2B #70BF2B
monochromatic
#17155B #23208D #302BBF #5450D8 #8582E3

Accessibility & contrast

On white

9.44
#302BBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#302BBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302BBF
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302BBF#FFFFFF#000000##FFFFFF
##302BBF1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC3
Deuteranopia (green-blind)
#003FBC
Tritanopia (blue-blind)
#005874
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #302bbf;
/* rgb */ color: rgb(48, 43, 191);
/* oklch */ color: oklch(41.6% 0.218 272.9);
Tailwind
colors: {
  custom: {
    50: '#8067d4',
    500: '#302bbf',
    950: '#000000',
  },
}
SCSS
$custom: #302bbf;
$custom-light: #8067d4;
$custom-dark: #000000;
JSON
{
  "hex": "#302bbf",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 191
  },
  "hsl": {
    "h": 242.027,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.41573,
    "c": 0.21834,
    "h": 272.9
  },
  "luminance": 0.06118
}

Semantic roles & 50–950 ramp

primary
#302BBF
secondary
#C9CC7A
accent
#E642E1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #302BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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