#284A4E#284A4E

#284A4E is a dark, muted teal. Relative luminance 0.059; OKLCH L 38.5% C 0.040 H 205.3°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#284A4E
RGBrgb(40, 74, 78)
HSLhsl(186, 32%, 23%)
HSVhsv(186, 49%, 31%)
CMYKcmyk(48.7%, 5.1%, 0%, 69.4%)
CIE-LABlab(29.15, -11.13, -6.25)
CIE-LCHlch(29.15, 12.76, 209.33°)
OKLaboklab(38.5% -0.0363 -0.0172)
OKLCHoklch(38.5% 0.04 205.3)
XYZxyz(4.6985, 5.8984, 8.0972)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A4E #4E2C28
analogous
#284E3F #284A4E #28374E
triadic
#284A4E #4E284A #4A4E28
tetradic
#284A4E #3F284E #4E2C28 #374E28
square
#284A4E #3F284E #4E2C28 #374E28
split-complementary
#284A4E #4E2837 #4E3F28
monochromatic
#0A1314 #132426 #284A4E #3D7076 #51979F

Accessibility & contrast

On white

9.63
#284A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#284A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284A4E
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A4E#FFFFFF#000000##FFFFFF
##284A4E1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45474E
Deuteranopia (green-blind)
#3F434E
Tritanopia (blue-blind)
#164D4B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #284a4e;
/* rgb */ color: rgb(40, 74, 78);
/* oklch */ color: oklch(38.5% 0.040 205.3);
Tailwind
colors: {
  custom: {
    50: '#657c7f',
    500: '#284a4e',
    950: '#000000',
  },
}
SCSS
$custom: #284a4e;
$custom-light: #657c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#284a4e",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 78
  },
  "hsl": {
    "h": 186.316,
    "s": 32.203,
    "l": 23.137
  },
  "oklch": {
    "l": 0.38501,
    "c": 0.04018,
    "h": 205.3
  },
  "luminance": 0.05899
}

Semantic roles & 50–950 ramp

primary
#284A4E
secondary
#815651
accent
#6A5FC8
background
#F6F7F7
surface
#EBEEEE
border
#C6C9C9
text
#06090A
muted
#7A7B7C

Preview Lab

Preview with #284A4E

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

Preview Lab → · Contrast checker → · Palette generator →

#284A4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva