#302C48#302C48

#302C48 is a dark, muted blue. Relative luminance 0.029; OKLCH L 31.1% C 0.050 H 289.7°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#302C48
RGBrgb(48, 44, 72)
HSLhsl(249, 24%, 23%)
HSVhsv(249, 39%, 28%)
CMYKcmyk(33.3%, 38.9%, 0%, 71.8%)
CIE-LABlab(19.63, 9.36, -16.80)
CIE-LCHlch(19.63, 19.23, 299.13°)
OKLaboklab(31.08% 0.0168 -0.0468)
OKLCHoklch(31.08% 0.05 289.7)
XYZxyz(3.2890, 2.8976, 6.5156)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C48 #44482C
analogous
#2C3648 #302C48 #3E2C48
triadic
#302C48 #48302C #2C4830
tetradic
#302C48 #482C36 #44482C #2C483E
square
#302C48 #482C36 #44482C #2C483E
split-complementary
#302C48 #483E2C #36482C
monochromatic
#0D0C13 #171522 #302C48 #49436E #635A94

Accessibility & contrast

On white

13.29
#302C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#302C48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C48
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C48#FFFFFF#000000##FFFFFF
##302C481.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243049
Deuteranopia (green-blind)
#242F47
Tritanopia (blue-blind)
#2A3136
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #302c48;
/* rgb */ color: rgb(48, 44, 72);
/* oklch */ color: oklch(31.1% 0.050 289.7);
Tailwind
colors: {
  custom: {
    50: '#69657b',
    500: '#302c48',
    950: '#000000',
  },
}
SCSS
$custom: #302c48;
$custom-light: #69657b;
$custom-dark: #000000;
JSON
{
  "hex": "#302c48",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 72
  },
  "hsl": {
    "h": 248.571,
    "s": 24.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31077,
    "c": 0.04971,
    "h": 289.7
  },
  "luminance": 0.02898
}

Semantic roles & 50–950 ramp

primary
#302C48
secondary
#747956
accent
#C167B4
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060509
muted
#7A7A7B

Preview Lab

Preview with #302C48

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

Preview Lab → · Contrast checker → · Palette generator →

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