#284F71#284F71

#284F71 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.5% C 0.072 H 246.9°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#284F71
RGBrgb(40, 79, 113)
HSLhsl(208, 48%, 30%)
HSVhsv(208, 65%, 44%)
CMYKcmyk(64.6%, 30.1%, 0%, 55.7%)
CIE-LABlab(32.34, -2.31, -23.65)
CIE-LCHlch(32.34, 23.76, 264.43°)
OKLaboklab(41.53% -0.0284 -0.0666)
OKLCHoklch(41.53% 0.072 246.9)
XYZxyz(6.6506, 7.2347, 16.6655)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284F71 #714A28
analogous
#28716E #284F71 #282B71
triadic
#284F71 #71284F #4F7128
tetradic
#284F71 #6E2871 #714A28 #2B7128
square
#284F71 #6E2871 #714A28 #2B7128
split-complementary
#284F71 #71282B #716E28
monochromatic
#081017 #182F44 #284F71 #386F9E #528EC2

Accessibility & contrast

On white

8.58
#284F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284F71
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284F71#FFFFFF#000000##FFFFFF
##284F711.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #284f71;
/* rgb */ color: rgb(40, 79, 113);
/* oklch */ color: oklch(41.5% 0.072 246.9);
Tailwind
colors: {
  custom: {
    50: '#69809a',
    500: '#284f71',
    950: '#000000',
  },
}
SCSS
$custom: #284f71;
$custom-light: #69809a;
$custom-dark: #000000;
JSON
{
  "hex": "#284f71",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 113
  },
  "hsl": {
    "h": 207.945,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.41531,
    "c": 0.07241,
    "h": 246.9
  },
  "luminance": 0.07235
}

Semantic roles & 50–950 ramp

primary
#284F71
secondary
#A37852
accent
#8F50D7
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #284F71

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

Preview Lab → · Contrast checker → · Palette generator →

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