#284F72#284F72

#284F72 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.6% C 0.074 H 247.6°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#284F72
RGBrgb(40, 79, 114)
HSLhsl(208, 48%, 30%)
HSVhsv(208, 65%, 45%)
CMYKcmyk(64.9%, 30.7%, 0%, 55.3%)
CIE-LABlab(32.39, -1.94, -24.19)
CIE-LCHlch(32.39, 24.27, 265.42°)
OKLaboklab(41.59% -0.028 -0.0682)
OKLCHoklch(41.59% 0.074 247.6)
XYZxyz(6.7072, 7.2573, 16.9637)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284F72 #724B28
analogous
#287270 #284F72 #282A72
triadic
#284F72 #72284F #4F7228
tetradic
#284F72 #702872 #724B28 #2A7228
square
#284F72 #702872 #724B28 #2A7228
split-complementary
#284F72 #72282A #727028
monochromatic
#081017 #183045 #284F72 #386E9F #528DC2

Accessibility & contrast

On white

8.57
#284F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#284F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284F72
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284F72#FFFFFF#000000##FFFFFF
##284F721.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405074
Deuteranopia (green-blind)
#364971
Tritanopia (blue-blind)
#00575B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #284f72;
/* rgb */ color: rgb(40, 79, 114);
/* oklch */ color: oklch(41.6% 0.074 247.6);
Tailwind
colors: {
  custom: {
    50: '#6a809a',
    500: '#284f72',
    950: '#000000',
  },
}
SCSS
$custom: #284f72;
$custom-light: #6a809a;
$custom-dark: #000000;
JSON
{
  "hex": "#284f72",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 114
  },
  "hsl": {
    "h": 208.378,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41588,
    "c": 0.07373,
    "h": 247.6
  },
  "luminance": 0.07258
}

Semantic roles & 50–950 ramp

primary
#284F72
secondary
#A47952
accent
#9050D8
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #284F72

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

Preview Lab → · Contrast checker → · Palette generator →

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