#284E79#284E79

#284E79 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.7% C 0.084 H 253.0°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#284E79
RGBrgb(40, 78, 121)
HSLhsl(212, 50%, 32%)
HSVhsv(212, 67%, 47%)
CMYKcmyk(66.9%, 35.5%, 0%, 52.5%)
CIE-LABlab(32.44, 1.30, -28.49)
CIE-LCHlch(32.44, 28.52, 272.62°)
OKLaboklab(41.75% -0.0247 -0.0807)
OKLCHoklch(41.75% 0.084 253)
XYZxyz(7.0494, 7.2797, 19.1191)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284E79 #795328
analogous
#287779 #284E79 #2B2879
triadic
#284E79 #79284E #4E7928
tetradic
#284E79 #792877 #795328 #28792B
square
#284E79 #792877 #795328 #28792B
split-complementary
#284E79 #792B28 #777928
monochromatic
#0A131D #19304B #284E79 #376CA7 #558AC7

Accessibility & contrast

On white

8.55
#284E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#284E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284E79
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284E79#FFFFFF#000000##FFFFFF
##284E791.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517B
Deuteranopia (green-blind)
#304978
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #284e79;
/* rgb */ color: rgb(40, 78, 121);
/* oklch */ color: oklch(41.7% 0.084 253.0);
Tailwind
colors: {
  custom: {
    50: '#6b7fa0',
    500: '#284e79',
    950: '#000000',
  },
}
SCSS
$custom: #284e79;
$custom-light: #6b7fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#284e79",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 121
  },
  "hsl": {
    "h": 211.852,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41747,
    "c": 0.08438,
    "h": 253
  },
  "luminance": 0.0728
}

Semantic roles & 50–950 ramp

primary
#284E79
secondary
#AB8152
accent
#984EDA
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #284E79

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

Preview Lab → · Contrast checker → · Palette generator →

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