#302D41#302D41

#302D41 is a dark, muted blue. Relative luminance 0.029; OKLCH L 30.9% C 0.036 H 291.0°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#302D41
RGBrgb(48, 45, 65)
HSLhsl(249, 18%, 22%)
HSVhsv(249, 31%, 25%)
CMYKcmyk(26.2%, 30.8%, 0%, 74.5%)
CIE-LABlab(19.58, 6.56, -12.10)
CIE-LCHlch(19.58, 13.76, 298.47°)
OKLaboklab(30.93% 0.0128 -0.0333)
OKLCHoklch(30.93% 0.036 291)
XYZxyz(3.1112, 2.8868, 5.3933)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302D41 #3E412D
analogous
#2D3441 #302D41 #3A2D41
triadic
#302D41 #41302D #2D4130
tetradic
#302D41 #412D34 #3E412D #2D413A
square
#302D41 #412D34 #3E412D #2D413A
split-complementary
#302D41 #413A2D #34412D
monochromatic
#0D0D12 #15141D #302D41 #4B4665 #655F89

Accessibility & contrast

On white

13.31
#302D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302D41
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302D41#FFFFFF#000000##FFFFFF
##302D411.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283042
Deuteranopia (green-blind)
#282F40
Tritanopia (blue-blind)
#2C3034
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #302d41;
/* rgb */ color: rgb(48, 45, 65);
/* oklch */ color: oklch(30.9% 0.036 291.0);
Tailwind
colors: {
  custom: {
    50: '#686575',
    500: '#302d41',
    950: '#000000',
  },
}
SCSS
$custom: #302d41;
$custom-light: #686575;
$custom-dark: #000000;
JSON
{
  "hex": "#302d41",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 65
  },
  "hsl": {
    "h": 249,
    "s": 18.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30927,
    "c": 0.03571,
    "h": 291
  },
  "luminance": 0.02887
}

Semantic roles & 50–950 ramp

primary
#302D41
secondary
#6E7258
accent
#BB6DAF
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060508
muted
#7A7A7B

Preview Lab

Preview with #302D41

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

Preview Lab → · Contrast checker → · Palette generator →

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