#284F7D#284F7D

#284F7D is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.2% C 0.089 H 253.9°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#284F7D
RGBrgb(40, 79, 125)
HSLhsl(212, 52%, 32%)
HSVhsv(212, 68%, 49%)
CMYKcmyk(68%, 36.8%, 0%, 51%)
CIE-LABlab(32.97, 2.15, -30.13)
CIE-LCHlch(32.97, 30.20, 274.09°)
OKLaboklab(42.24% -0.0247 -0.0855)
OKLCHoklch(42.24% 0.089 253.9)
XYZxyz(7.3714, 7.5230, 20.4617)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284F7D #7D5628
analogous
#28797D #284F7D #2C287D
triadic
#284F7D #7D284F #4F7D28
tetradic
#284F7D #7D2879 #7D5628 #287D2C
square
#284F7D #7D2879 #7D5628 #287D2C
split-complementary
#284F7D #7D2C28 #797D28
monochromatic
#0A1420 #19324F #284F7D #376CAB #568BC9

Accessibility & contrast

On white

8.38
#284F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#284F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284F7D
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284F7D#FFFFFF#000000##FFFFFF
##284F7D1.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B527F
Deuteranopia (green-blind)
#2F4A7C
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #284f7d;
/* rgb */ color: rgb(40, 79, 125);
/* oklch */ color: oklch(42.2% 0.089 253.9);
Tailwind
colors: {
  custom: {
    50: '#6c80a3',
    500: '#284f7d',
    950: '#000000',
  },
}
SCSS
$custom: #284f7d;
$custom-light: #6c80a3;
$custom-dark: #000000;
JSON
{
  "hex": "#284f7d",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 125
  },
  "hsl": {
    "h": 212.471,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42237,
    "c": 0.08896,
    "h": 253.9
  },
  "luminance": 0.07524
}

Semantic roles & 50–950 ramp

primary
#284F7D
secondary
#AE8453
accent
#9A4DDB
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #284F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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