#333151#333151

#333151 is a dark, muted blue. Relative luminance 0.035; OKLCH L 33.1% C 0.056 H 285.8°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#333151
RGBrgb(51, 49, 81)
HSLhsl(244, 25%, 25%)
HSVhsv(244, 40%, 32%)
CMYKcmyk(37%, 39.5%, 0%, 68.2%)
CIE-LABlab(21.92, 9.70, -19.24)
CIE-LCHlch(21.92, 21.55, 296.75°)
OKLaboklab(33.07% 0.0152 -0.0538)
OKLCHoklch(33.07% 0.056 285.8)
XYZxyz(3.9484, 3.4944, 8.2494)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333151 #4F5131
analogous
#313F51 #333151 #433151
triadic
#333151 #513331 #315133
tetradic
#333151 #51313F #4F5131 #315143
square
#333151 #51313F #4F5131 #315143
split-complementary
#333151 #514331 #3F5131
monochromatic
#0C0C13 #1B1A2B #333151 #4B4877 #635F9D

Accessibility & contrast

On white

12.36
#333151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #333151
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333151#FFFFFF#000000##FFFFFF
##3331511.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273552
Deuteranopia (green-blind)
#273450
Tritanopia (blue-blind)
#2B373D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #333151;
/* rgb */ color: rgb(51, 49, 81);
/* oklch */ color: oklch(33.1% 0.056 285.8);
Tailwind
colors: {
  custom: {
    50: '#6c6982',
    500: '#333151',
    950: '#000000',
  },
}
SCSS
$custom: #333151;
$custom-light: #6c6982;
$custom-dark: #000000;
JSON
{
  "hex": "#333151",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 243.75,
    "s": 24.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33066,
    "c": 0.05589,
    "h": 285.8
  },
  "luminance": 0.03495
}

Semantic roles & 50–950 ramp

primary
#333151
secondary
#80825C
accent
#C167BB
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#07060A
muted
#7A7A7C

Preview Lab

Preview with #333151

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

Preview Lab → · Contrast checker → · Palette generator →

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