#284F76#284F76

#284F76 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.8% C 0.079 H 250.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#284F76
RGBrgb(40, 79, 118)
HSLhsl(210, 49%, 31%)
HSVhsv(210, 66%, 46%)
CMYKcmyk(66.1%, 33.1%, 0%, 53.7%)
CIE-LABlab(32.59, -0.47, -26.37)
CIE-LCHlch(32.59, 26.37, 268.99°)
OKLaboklab(41.82% -0.0267 -0.0745)
OKLCHoklch(41.82% 0.079 250.3)
XYZxyz(6.9399, 7.3504, 18.1891)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284F76 #764F28
analogous
#287676 #284F76 #282876
triadic
#284F76 #76284F #4F7628
tetradic
#284F76 #762876 #764F28 #287628
square
#284F76 #762876 #764F28 #287628
split-complementary
#284F76 #762828 #767628
monochromatic
#09121B #193048 #284F76 #376EA4 #548CC5

Accessibility & contrast

On white

8.50
#284F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#284F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284F76
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284F76#FFFFFF#000000##FFFFFF
##284F761.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5178
Deuteranopia (green-blind)
#344975
Tritanopia (blue-blind)
#00585D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #284f76;
/* rgb */ color: rgb(40, 79, 118);
/* oklch */ color: oklch(41.8% 0.079 250.3);
Tailwind
colors: {
  custom: {
    50: '#6a809d',
    500: '#284f76',
    950: '#000000',
  },
}
SCSS
$custom: #284f76;
$custom-light: #6a809d;
$custom-dark: #000000;
JSON
{
  "hex": "#284f76",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 118
  },
  "hsl": {
    "h": 210,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41817,
    "c": 0.07918,
    "h": 250.3
  },
  "luminance": 0.07351
}

Semantic roles & 50–950 ramp

primary
#284F76
secondary
#A87D52
accent
#944FD9
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #284F76

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

Preview Lab → · Contrast checker → · Palette generator →

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