#283A40#283A40

#283A40 is a dark, muted cyan. Relative luminance 0.038; OKLCH L 33.5% C 0.025 H 220.5°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#283A40
RGBrgb(40, 58, 64)
HSLhsl(195, 23%, 20%)
HSVhsv(195, 38%, 25%)
CMYKcmyk(37.5%, 9.4%, 0%, 74.9%)
CIE-LABlab(23.16, -5.46, -6.04)
CIE-LCHlch(23.16, 8.14, 227.91°)
OKLaboklab(33.55% -0.0194 -0.0165)
OKLCHoklch(33.55% 0.025 220.5)
XYZxyz(3.3132, 3.8472, 5.4175)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A40 #402E28
analogous
#28403A #283A40 #282E40
triadic
#283A40 #40283A #3A4028
tetradic
#283A40 #3A2840 #402E28 #2E4028
square
#283A40 #3A2840 #402E28 #2E4028
split-complementary
#283A40 #40282E #403A28
monochromatic
#0C1113 #10181A #283A40 #405C66 #577E8B

Accessibility & contrast

On white

11.87
#283A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283A40
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A40#FFFFFF#000000##FFFFFF
##283A401.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363940
Deuteranopia (green-blind)
#333640
Tritanopia (blue-blind)
#203C3C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #283a40;
/* rgb */ color: rgb(40, 58, 64);
/* oklch */ color: oklch(33.5% 0.025 220.5);
Tailwind
colors: {
  custom: {
    50: '#637074',
    500: '#283a40',
    950: '#000000',
  },
}
SCSS
$custom: #283a40;
$custom-light: #637074;
$custom-dark: #000000;
JSON
{
  "hex": "#283a40",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 64
  },
  "hsl": {
    "h": 195,
    "s": 23.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.33545,
    "c": 0.02547,
    "h": 220.5
  },
  "luminance": 0.03847
}

Semantic roles & 50–950 ramp

primary
#283A40
secondary
#725A52
accent
#7E68C0
background
#F5F6F7
surface
#EAECED
border
#C6C7C8
text
#050708
muted
#797A7B

Preview Lab

Preview with #283A40

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

Preview Lab → · Contrast checker → · Palette generator →

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