#284F79#284F79

#284F79 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.0% C 0.083 H 251.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#284F79
RGBrgb(40, 79, 121)
HSLhsl(211, 50%, 32%)
HSVhsv(211, 67%, 47%)
CMYKcmyk(66.9%, 34.7%, 0%, 52.5%)
CIE-LABlab(32.75, 0.65, -27.99)
CIE-LCHlch(32.75, 28.00, 271.33°)
OKLaboklab(41.99% -0.0258 -0.0792)
OKLCHoklch(41.99% 0.083 251.9)
XYZxyz(7.1210, 7.4229, 19.1429)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284F79 #795228
analogous
#287879 #284F79 #292879
triadic
#284F79 #79284F #4F7928
tetradic
#284F79 #792878 #795228 #287929
square
#284F79 #792878 #795228 #287929
split-complementary
#284F79 #792928 #787928
monochromatic
#0A131D #19314B #284F79 #376DA7 #558CC7

Accessibility & contrast

On white

8.45
#284F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#284F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284F79
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284F79#FFFFFF#000000##FFFFFF
##284F791.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D517B
Deuteranopia (green-blind)
#324A78
Tritanopia (blue-blind)
#00595E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #284f79;
/* rgb */ color: rgb(40, 79, 121);
/* oklch */ color: oklch(42.0% 0.083 251.9);
Tailwind
colors: {
  custom: {
    50: '#6b80a0',
    500: '#284f79',
    950: '#000000',
  },
}
SCSS
$custom: #284f79;
$custom-light: #6b80a0;
$custom-dark: #000000;
JSON
{
  "hex": "#284f79",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 121
  },
  "hsl": {
    "h": 211.111,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41994,
    "c": 0.08333,
    "h": 251.9
  },
  "luminance": 0.07424
}

Semantic roles & 50–950 ramp

primary
#284F79
secondary
#AB8052
accent
#964EDA
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #284F79

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

Preview Lab → · Contrast checker → · Palette generator →

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