#283F42#283F42

#283F42 is a dark, muted teal. Relative luminance 0.044; OKLCH L 35.0% C 0.029 H 206.2°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#283F42
RGBrgb(40, 63, 66)
HSLhsl(187, 25%, 21%)
HSVhsv(187, 39%, 26%)
CMYKcmyk(39.4%, 4.5%, 0%, 74.1%)
CIE-LABlab(24.95, -8.04, -4.70)
CIE-LCHlch(24.95, 9.31, 210.28°)
OKLaboklab(34.99% -0.0261 -0.0129)
OKLCHoklch(34.99% 0.029 206.2)
XYZxyz(3.6356, 4.3993, 5.8108)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F42 #422B28
analogous
#284238 #283F42 #283242
triadic
#283F42 #42283F #3F4228
tetradic
#283F42 #382842 #422B28 #324228
square
#283F42 #382842 #422B28 #324228
split-complementary
#283F42 #422832 #423828
monochromatic
#0C1213 #111B1C #283F42 #3F6368 #56888E

Accessibility & contrast

On white

11.17
#283F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#283F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F42
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F42#FFFFFF#000000##FFFFFF
##283F421.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3D42
Deuteranopia (green-blind)
#373A42
Tritanopia (blue-blind)
#1E4140
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #283f42;
/* rgb */ color: rgb(40, 63, 66);
/* oklch */ color: oklch(35.0% 0.029 206.2);
Tailwind
colors: {
  custom: {
    50: '#637476',
    500: '#283f42',
    950: '#000000',
  },
}
SCSS
$custom: #283f42;
$custom-light: #637476;
$custom-dark: #000000;
JSON
{
  "hex": "#283f42",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 66
  },
  "hsl": {
    "h": 186.923,
    "s": 24.528,
    "l": 20.784
  },
  "oklch": {
    "l": 0.34994,
    "c": 0.02912,
    "h": 206.2
  },
  "luminance": 0.04399
}

Semantic roles & 50–950 ramp

primary
#283F42
secondary
#745652
accent
#7167C1
background
#F5F7F7
surface
#EAEDED
border
#C6C8C8
text
#050808
muted
#797B7B

Preview Lab

Preview with #283F42

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

Preview Lab → · Contrast checker → · Palette generator →

#283F42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva