#302C4A#302C4A

#302C4A is a dark, muted blue. Relative luminance 0.029; OKLCH L 31.2% C 0.053 H 289.0°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#302C4A
RGBrgb(48, 44, 74)
HSLhsl(248, 25%, 23%)
HSVhsv(248, 41%, 29%)
CMYKcmyk(35.1%, 40.5%, 0%, 71%)
CIE-LABlab(19.74, 9.98, -17.99)
CIE-LCHlch(19.74, 20.57, 299.03°)
OKLaboklab(31.2% 0.0173 -0.0502)
OKLCHoklch(31.2% 0.053 289)
XYZxyz(3.3553, 2.9241, 6.8649)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C4A #464A2C
analogous
#2C374A #302C4A #3F2C4A
triadic
#302C4A #4A302C #2C4A30
tetradic
#302C4A #4A2C37 #464A2C #2C4A3F
square
#302C4A #4A2C37 #464A2C #2C4A3F
split-complementary
#302C4A #4A3F2C #374A2C
monochromatic
#0C0B13 #171524 #302C4A #494370 #625A97

Accessibility & contrast

On white

13.25
#302C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302C4A
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C4A#FFFFFF#000000##FFFFFF
##302C4A1.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23304B
Deuteranopia (green-blind)
#232F49
Tritanopia (blue-blind)
#2A3137
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #302c4a;
/* rgb */ color: rgb(48, 44, 74);
/* oklch */ color: oklch(31.2% 0.053 289.0);
Tailwind
colors: {
  custom: {
    50: '#69657c',
    500: '#302c4a',
    950: '#000000',
  },
}
SCSS
$custom: #302c4a;
$custom-light: #69657c;
$custom-dark: #000000;
JSON
{
  "hex": "#302c4a",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 74
  },
  "hsl": {
    "h": 248,
    "s": 25.424,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31196,
    "c": 0.05313,
    "h": 289
  },
  "luminance": 0.02924
}

Semantic roles & 50–950 ramp

primary
#302C4A
secondary
#777C56
accent
#C266B6
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#060509
muted
#7A7A7B

Preview Lab

Preview with #302C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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