#302C4E#302C4E

#302C4E is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.4% C 0.060 H 287.8°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#302C4E
RGBrgb(48, 44, 78)
HSLhsl(247, 28%, 24%)
HSVhsv(247, 44%, 31%)
CMYKcmyk(38.5%, 43.6%, 0%, 69.4%)
CIE-LABlab(19.96, 11.25, -20.33)
CIE-LCHlch(19.96, 23.24, 298.95°)
OKLaboklab(31.44% 0.0183 -0.057)
OKLCHoklch(31.44% 0.06 287.8)
XYZxyz(3.4944, 2.9797, 7.5973)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C4E #4A4E2C
analogous
#2C394E #302C4E #412C4E
triadic
#302C4E #4E302C #2C4E30
tetradic
#302C4E #4E2C39 #4A4E2C #2C4E41
square
#302C4E #4E2C39 #4A4E2C #2C4E41
split-complementary
#302C4E #4E412C #394E2C
monochromatic
#0C0B14 #181627 #302C4E #484275 #60589C

Accessibility & contrast

On white

13.16
#302C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#302C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C4E
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C4E#FFFFFF#000000##FFFFFF
##302C4E1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21314F
Deuteranopia (green-blind)
#212F4D
Tritanopia (blue-blind)
#283239
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #302c4e;
/* rgb */ color: rgb(48, 44, 78);
/* oklch */ color: oklch(31.4% 0.060 287.8);
Tailwind
colors: {
  custom: {
    50: '#6a657f',
    500: '#302c4e',
    950: '#000000',
  },
}
SCSS
$custom: #302c4e;
$custom-light: #6a657f;
$custom-dark: #000000;
JSON
{
  "hex": "#302c4e",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 247.059,
    "s": 27.869,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31441,
    "c": 0.05991,
    "h": 287.8
  },
  "luminance": 0.0298
}

Semantic roles & 50–950 ramp

primary
#302C4E
secondary
#7B8056
accent
#C464B9
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06050A
muted
#7A7A7C

Preview Lab

Preview with #302C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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