#284F84#284F84

#284F84 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.7% C 0.099 H 256.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#284F84
RGBrgb(40, 79, 132)
HSLhsl(215, 53%, 34%)
HSVhsv(215, 70%, 52%)
CMYKcmyk(69.7%, 40.2%, 0%, 48.2%)
CIE-LABlab(33.37, 4.81, -33.82)
CIE-LCHlch(33.37, 34.16, 278.09°)
OKLaboklab(42.68% -0.0228 -0.0963)
OKLCHoklch(42.68% 0.099 256.7)
XYZxyz(7.8344, 7.7082, 22.9003)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284F84 #845D28
analogous
#287D84 #284F84 #2F2884
triadic
#284F84 #84284F #4F8428
tetradic
#284F84 #84287D #845D28 #28842F
square
#284F84 #84287D #845D28 #28842F
split-complementary
#284F84 #842F28 #7D8428
monochromatic
#0C1726 #1A3355 #284F84 #366BB3 #5A8ACD

Accessibility & contrast

On white

8.26
#284F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#284F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284F84
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284F84#FFFFFF#000000##FFFFFF
##284F841.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375386
Deuteranopia (green-blind)
#294B83
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #284f84;
/* rgb */ color: rgb(40, 79, 132);
/* oklch */ color: oklch(42.7% 0.099 256.7);
Tailwind
colors: {
  custom: {
    50: '#6d7fa8',
    500: '#284f84',
    950: '#000000',
  },
}
SCSS
$custom: #284f84;
$custom-light: #6d7fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#284f84",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 132
  },
  "hsl": {
    "h": 214.565,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42677,
    "c": 0.09894,
    "h": 256.7
  },
  "luminance": 0.07709
}

Semantic roles & 50–950 ramp

primary
#284F84
secondary
#B28B56
accent
#9F4BDD
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #284F84

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

Preview Lab → · Contrast checker → · Palette generator →

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