#302E4A#302E4A

#302E4A is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.7% C 0.049 H 286.5°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#302E4A
RGBrgb(48, 46, 74)
HSLhsl(244, 23%, 24%)
HSVhsv(244, 38%, 29%)
CMYKcmyk(35.1%, 37.8%, 0%, 71%)
CIE-LABlab(20.35, 8.58, -17.03)
CIE-LCHlch(20.35, 19.07, 296.74°)
OKLaboklab(31.66% 0.014 -0.0475)
OKLCHoklch(31.66% 0.049 286.5)
XYZxyz(3.4316, 3.0767, 6.8903)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E4A #484A2E
analogous
#2E3A4A #302E4A #3E2E4A
triadic
#302E4A #4A302E #2E4A30
tetradic
#302E4A #4A2E3A #484A2E #2E4A3E
square
#302E4A #4A2E3A #484A2E #2E4A3E
split-complementary
#302E4A #4A3E2E #3A4A2E
monochromatic
#0C0C13 #181724 #302E4A #484570 #615D95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##302E4A#FFFFFF#000000##FFFFFF
##302E4A1.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)
#26324B
Deuteranopia (green-blind)
#253049
Tritanopia (blue-blind)
#2A3338
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #302e4a;
/* rgb */ color: rgb(48, 46, 74);
/* oklch */ color: oklch(31.7% 0.049 286.5);
Tailwind
colors: {
  custom: {
    50: '#69667c',
    500: '#302e4a',
    950: '#000000',
  },
}
SCSS
$custom: #302e4a;
$custom-light: #69667c;
$custom-dark: #000000;
JSON
{
  "hex": "#302e4a",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 74
  },
  "hsl": {
    "h": 244.286,
    "s": 23.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31664,
    "c": 0.04949,
    "h": 286.5
  },
  "luminance": 0.03077
}

Semantic roles & 50–950 ramp

primary
#302E4A
secondary
#797B59
accent
#C068BA
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#060609
muted
#7A7A7B

Preview Lab

Preview with #302E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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