#303442#303442

#303442 is a dark, muted blue. Relative luminance 0.035; OKLCH L 32.7% C 0.025 H 272.5°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#303442
RGBrgb(48, 52, 66)
HSLhsl(227, 16%, 22%)
HSVhsv(227, 27%, 26%)
CMYKcmyk(27.3%, 21.2%, 0%, 74.1%)
CIE-LABlab(21.86, 2.03, -9.29)
CIE-LCHlch(21.86, 9.51, 282.31°)
OKLaboklab(32.71% 0.0011 -0.0254)
OKLCHoklch(32.71% 0.025 272.5)
XYZxyz(3.4300, 3.4776, 5.6437)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303442 #423E30
analogous
#303D42 #303442 #353042
triadic
#303442 #423034 #344230
tetradic
#303442 #42303D #423E30 #304235
square
#303442 #42303D #423E30 #304235
split-complementary
#303442 #423530 #3D4230
monochromatic
#0D0E12 #16181F #303442 #4A5065 #646C89

Accessibility & contrast

On white

12.38
#303442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#303442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303442
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303442#FFFFFF#000000##FFFFFF
##3034421.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303543
Deuteranopia (green-blind)
#2F3442
Tritanopia (blue-blind)
#2C3739
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #303442;
/* rgb */ color: rgb(48, 52, 66);
/* oklch */ color: oklch(32.7% 0.025 272.5);
Tailwind
colors: {
  custom: {
    50: '#686b76',
    500: '#303442',
    950: '#000000',
  },
}
SCSS
$custom: #303442;
$custom-light: #686b76;
$custom-dark: #000000;
JSON
{
  "hex": "#303442",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 66
  },
  "hsl": {
    "h": 226.667,
    "s": 15.789,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32711,
    "c": 0.02546,
    "h": 272.5
  },
  "luminance": 0.03478
}

Semantic roles & 50–950 ramp

primary
#303442
secondary
#726D5C
accent
#A86FB9
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #303442

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

Preview Lab → · Contrast checker → · Palette generator →

#303442 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva