#284F85#284F85

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

Color values

HEX#284F85
RGBrgb(40, 79, 133)
HSLhsl(215, 54%, 34%)
HSVhsv(215, 70%, 52%)
CMYKcmyk(69.9%, 40.6%, 0%, 47.8%)
CIE-LABlab(33.43, 5.19, -34.34)
CIE-LCHlch(33.43, 34.73, 278.59°)
OKLaboklab(42.74% -0.0225 -0.0978)
OKLCHoklch(42.74% 0.1 257)
XYZxyz(7.9032, 7.7357, 23.2624)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284F85 #855E28
analogous
#287E85 #284F85 #302885
triadic
#284F85 #85284F #4F8528
tetradic
#284F85 #85287E #855E28 #288530
square
#284F85 #85287E #855E28 #288530
split-complementary
#284F85 #853028 #7E8528
monochromatic
#0C1727 #1A3356 #284F85 #366BB4 #5A8ACD

Accessibility & contrast

On white

8.24
#284F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#284F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284F85
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284F85#FFFFFF#000000##FFFFFF
##284F851.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365387
Deuteranopia (green-blind)
#284B84
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #284f85;
/* rgb */ color: rgb(40, 79, 133);
/* oklch */ color: oklch(42.7% 0.100 257.0);
Tailwind
colors: {
  custom: {
    50: '#6d7fa9',
    500: '#284f85',
    950: '#000000',
  },
}
SCSS
$custom: #284f85;
$custom-light: #6d7fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#284f85",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 133
  },
  "hsl": {
    "h": 214.839,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42742,
    "c": 0.10039,
    "h": 257
  },
  "luminance": 0.07737
}

Semantic roles & 50–950 ramp

primary
#284F85
secondary
#B38C56
accent
#A04BDD
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #284F85

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

Preview Lab → · Contrast checker → · Palette generator →

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