#284151#284151

#284151 is a dark, muted cyan. Relative luminance 0.048; OKLCH L 36.2% C 0.042 H 237.6°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#284151
RGBrgb(40, 65, 81)
HSLhsl(203, 34%, 24%)
HSVhsv(203, 51%, 32%)
CMYKcmyk(50.6%, 19.8%, 0%, 68.2%)
CIE-LABlab(26.23, -4.56, -12.63)
CIE-LCHlch(26.23, 13.43, 250.14°)
OKLaboklab(36.21% -0.0222 -0.035)
OKLCHoklch(36.21% 0.042 237.6)
XYZxyz(4.2501, 4.8255, 8.4904)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284151 #513828
analogous
#28514C #284151 #282C51
triadic
#284151 #512841 #415128
tetradic
#284151 #4C2851 #513828 #2C5128
square
#284151 #4C2851 #513828 #2C5128
split-complementary
#284151 #51282C #514C28
monochromatic
#0A1014 #142028 #284151 #3C627A #5083A3

Accessibility & contrast

On white

10.69
#284151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#284151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284151
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284151#FFFFFF#000000##FFFFFF
##2841511.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4152
Deuteranopia (green-blind)
#343C51
Tritanopia (blue-blind)
#164546
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #284151;
/* rgb */ color: rgb(40, 65, 81);
/* oklch */ color: oklch(36.2% 0.042 237.6);
Tailwind
colors: {
  custom: {
    50: '#657581',
    500: '#284151',
    950: '#000000',
  },
}
SCSS
$custom: #284151;
$custom-light: #657581;
$custom-dark: #000000;
JSON
{
  "hex": "#284151",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 81
  },
  "hsl": {
    "h": 203.415,
    "s": 33.884,
    "l": 23.725
  },
  "oklch": {
    "l": 0.36213,
    "c": 0.0415,
    "h": 237.6
  },
  "luminance": 0.04826
}

Semantic roles & 50–950 ramp

primary
#284151
secondary
#846551
accent
#885ECA
background
#F6F7F7
surface
#EBEDEE
border
#C6C8C9
text
#06080A
muted
#7A7B7C

Preview Lab

Preview with #284151

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

Preview Lab → · Contrast checker → · Palette generator →

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