#283A42#283A42

#283A42 is a dark, muted cyan. Relative luminance 0.039; OKLCH L 33.6% C 0.027 H 227.2°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#283A42
RGBrgb(40, 58, 66)
HSLhsl(198, 25%, 21%)
HSVhsv(198, 39%, 26%)
CMYKcmyk(39.4%, 12.1%, 0%, 74.1%)
CIE-LABlab(23.24, -4.85, -7.26)
CIE-LCHlch(23.24, 8.73, 236.27°)
OKLaboklab(33.63% -0.0184 -0.0199)
OKLCHoklch(33.63% 0.027 227.2)
XYZxyz(3.3712, 3.8704, 5.7226)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A42 #423028
analogous
#28423D #283A42 #282D42
triadic
#283A42 #42283A #3A4228
tetradic
#283A42 #3D2842 #423028 #2D4228
square
#283A42 #3D2842 #423028 #2D4228
split-complementary
#283A42 #42282D #423D28
monochromatic
#0C1113 #11191C #283A42 #3F5B68 #567D8E

Accessibility & contrast

On white

11.84
#283A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#283A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A42
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A42#FFFFFF#000000##FFFFFF
##283A421.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363942
Deuteranopia (green-blind)
#323642
Tritanopia (blue-blind)
#1F3C3C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #283a42;
/* rgb */ color: rgb(40, 58, 66);
/* oklch */ color: oklch(33.6% 0.027 227.2);
Tailwind
colors: {
  custom: {
    50: '#637076',
    500: '#283a42',
    950: '#000000',
  },
}
SCSS
$custom: #283a42;
$custom-light: #637076;
$custom-dark: #000000;
JSON
{
  "hex": "#283a42",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 66
  },
  "hsl": {
    "h": 198.462,
    "s": 24.528,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33633,
    "c": 0.02714,
    "h": 227.2
  },
  "luminance": 0.03871
}

Semantic roles & 50–950 ramp

primary
#283A42
secondary
#745C52
accent
#8367C1
background
#F5F6F7
surface
#EAECED
border
#C6C7C8
text
#050708
muted
#797A7B

Preview Lab

Preview with #283A42

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

Preview Lab → · Contrast checker → · Palette generator →

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