#303951#303951

#303951 is a dark, muted blue. Relative luminance 0.041; OKLCH L 34.7% C 0.044 H 268.3°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#303951
RGBrgb(48, 57, 81)
HSLhsl(224, 26%, 25%)
HSVhsv(224, 41%, 32%)
CMYKcmyk(40.7%, 29.6%, 0%, 68.2%)
CIE-LABlab(24.16, 3.21, -15.78)
CIE-LCHlch(24.16, 16.11, 281.51°)
OKLaboklab(34.73% -0.0013 -0.0439)
OKLCHoklch(34.73% 0.044 268.3)
XYZxyz(4.1668, 4.1485, 8.3642)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303951 #514830
analogous
#304951 #303951 #373051
triadic
#303951 #513039 #395130
tetradic
#303951 #513049 #514830 #305137
square
#303951 #513049 #514830 #305137
split-complementary
#303951 #513730 #495130
monochromatic
#0B0E13 #191E2B #303951 #475477 #5E6F9E

Accessibility & contrast

On white

11.48
#303951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#303951 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303951
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303951#FFFFFF#000000##FFFFFF
##3039511.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313B52
Deuteranopia (green-blind)
#2E3850
Tritanopia (blue-blind)
#263E41
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #303951;
/* rgb */ color: rgb(48, 57, 81);
/* oklch */ color: oklch(34.7% 0.044 268.3);
Tailwind
colors: {
  custom: {
    50: '#696f82',
    500: '#303951',
    950: '#000000',
  },
}
SCSS
$custom: #303951;
$custom-light: #696f82;
$custom-dark: #000000;
JSON
{
  "hex": "#303951",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 81
  },
  "hsl": {
    "h": 223.636,
    "s": 25.581,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34726,
    "c": 0.04391,
    "h": 268.3
  },
  "luminance": 0.04149
}

Semantic roles & 50–950 ramp

primary
#303951
secondary
#82775B
accent
#A966C2
background
#F6F6F7
surface
#EBECEE
border
#C6C7C9
text
#06070A
muted
#7A7A7C

Preview Lab

Preview with #303951

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

Preview Lab → · Contrast checker → · Palette generator →

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