#302B59#302B59

#302B59 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.080 H 285.9°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#302B59
RGBrgb(48, 43, 89)
HSLhsl(247, 35%, 26%)
HSVhsv(247, 52%, 35%)
CMYKcmyk(46.1%, 51.7%, 0%, 65.1%)
CIE-LABlab(20.35, 15.56, -27.07)
CIE-LCHlch(20.35, 31.22, 299.88°)
OKLaboklab(31.96% 0.0219 -0.0767)
OKLCHoklch(31.96% 0.08 285.9)
XYZxyz(3.8855, 3.0773, 9.8385)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B59 #54592B
analogous
#2B3D59 #302B59 #472B59
triadic
#302B59 #59302B #2B5930
tetradic
#302B59 #592B3D #54592B #2B5947
square
#302B59 #592B3D #54592B #2B5947
split-complementary
#302B59 #59472B #3D592B
monochromatic
#0B0A15 #1A1730 #302B59 #463F82 #5D53AC

Accessibility & contrast

On white

13.00
#302B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#302B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302B59
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B59#FFFFFF#000000##FFFFFF
##302B591.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19325B
Deuteranopia (green-blind)
#183058
Tritanopia (blue-blind)
#24343D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #302b59;
/* rgb */ color: rgb(48, 43, 89);
/* oklch */ color: oklch(32.0% 0.080 285.9);
Tailwind
colors: {
  custom: {
    50: '#6b6488',
    500: '#302b59',
    950: '#000000',
  },
}
SCSS
$custom: #302b59;
$custom-light: #6b6488;
$custom-dark: #000000;
JSON
{
  "hex": "#302b59",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 89
  },
  "hsl": {
    "h": 246.522,
    "s": 34.848,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31957,
    "c": 0.07977,
    "h": 285.9
  },
  "luminance": 0.03077
}

Semantic roles & 50–950 ramp

primary
#302B59
secondary
#858B55
accent
#CB5DBF
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050B
muted
#7A797C

Preview Lab

Preview with #302B59

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

Preview Lab → · Contrast checker → · Palette generator →

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