#302E4E#302E4E

#302E4E is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.9% C 0.056 H 285.6°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#302E4E
RGBrgb(48, 46, 78)
HSLhsl(244, 26%, 24%)
HSVhsv(244, 41%, 31%)
CMYKcmyk(38.5%, 41%, 0%, 69.4%)
CIE-LABlab(20.57, 9.85, -19.38)
CIE-LCHlch(20.57, 21.74, 296.93°)
OKLaboklab(31.9% 0.0151 -0.0543)
OKLCHoklch(31.9% 0.056 285.6)
XYZxyz(3.5707, 3.1323, 7.6227)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E4E #4C4E2E
analogous
#2E3C4E #302E4E #402E4E
triadic
#302E4E #4E302E #2E4E30
tetradic
#302E4E #4E2E3C #4C4E2E #2E4E40
square
#302E4E #4E2E3C #4C4E2E #2E4E40
split-complementary
#302E4E #4E402E #3C4E2E
monochromatic
#0C0B13 #181728 #302E4E #484574 #5F5B9B

Accessibility & contrast

On white

12.91
#302E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#302E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302E4E
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E4E#FFFFFF#000000##FFFFFF
##302E4E1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24324F
Deuteranopia (green-blind)
#23314D
Tritanopia (blue-blind)
#28343A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #302e4e;
/* rgb */ color: rgb(48, 46, 78);
/* oklch */ color: oklch(31.9% 0.056 285.6);
Tailwind
colors: {
  custom: {
    50: '#69667f',
    500: '#302e4e',
    950: '#000000',
  },
}
SCSS
$custom: #302e4e;
$custom-light: #69667f;
$custom-dark: #000000;
JSON
{
  "hex": "#302e4e",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 243.75,
    "s": 25.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31902,
    "c": 0.05634,
    "h": 285.6
  },
  "luminance": 0.03132
}

Semantic roles & 50–950 ramp

primary
#302E4E
secondary
#7D7F58
accent
#C266BC
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #302E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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