#284C7D#284C7D

#284C7D is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.5% C 0.092 H 256.6°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#284C7D
RGBrgb(40, 76, 125)
HSLhsl(215, 52%, 32%)
HSVhsv(215, 68%, 49%)
CMYKcmyk(68%, 39.2%, 0%, 51%)
CIE-LABlab(32.03, 4.13, -31.61)
CIE-LCHlch(32.03, 31.88, 277.44°)
OKLaboklab(41.51% -0.0213 -0.0898)
OKLCHoklch(41.51% 0.092 256.6)
XYZxyz(7.1598, 7.1000, 20.3912)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284C7D #7D5928
analogous
#28777D #284C7D #2E287D
triadic
#284C7D #7D284C #4C7D28
tetradic
#284C7D #7D2877 #7D5928 #287D2E
square
#284C7D #7D2877 #7D5928 #287D2E
split-complementary
#284C7D #7D2E28 #777D28
monochromatic
#0A1420 #19304F #284C7D #3768AB #5687C9

Accessibility & contrast

On white

8.68
#284C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#284C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284C7D
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284C7D#FFFFFF#000000##FFFFFF
##284C7D1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36507F
Deuteranopia (green-blind)
#2A487C
Tritanopia (blue-blind)
#00575E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #284c7d;
/* rgb */ color: rgb(40, 76, 125);
/* oklch */ color: oklch(41.5% 0.092 256.6);
Tailwind
colors: {
  custom: {
    50: '#6c7da3',
    500: '#284c7d',
    950: '#000000',
  },
}
SCSS
$custom: #284c7d;
$custom-light: #6c7da3;
$custom-dark: #000000;
JSON
{
  "hex": "#284c7d",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 125
  },
  "hsl": {
    "h": 214.588,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41507,
    "c": 0.09235,
    "h": 256.6
  },
  "luminance": 0.07101
}

Semantic roles & 50–950 ramp

primary
#284C7D
secondary
#AE8753
accent
#9F4DDB
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #284C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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