#284D7D#284D7D

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

Color values

HEX#284D7D
RGBrgb(40, 77, 125)
HSLhsl(214, 52%, 32%)
HSVhsv(214, 68%, 49%)
CMYKcmyk(68%, 38.4%, 0%, 51%)
CIE-LABlab(32.34, 3.47, -31.12)
CIE-LCHlch(32.34, 31.31, 276.36°)
OKLaboklab(41.75% -0.0224 -0.0884)
OKLCHoklch(41.75% 0.091 255.8)
XYZxyz(7.2293, 7.2388, 20.4143)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D7D #7D5828
analogous
#28787D #284D7D #2D287D
triadic
#284D7D #7D284D #4D7D28
tetradic
#284D7D #7D2878 #7D5828 #287D2D
square
#284D7D #7D2878 #7D5828 #287D2D
split-complementary
#284D7D #7D2D28 #787D28
monochromatic
#0A1420 #19304F #284D7D #376AAB #5688C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##284D7D#FFFFFF#000000##FFFFFF
##284D7D1.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)
#38507F
Deuteranopia (green-blind)
#2C487C
Tritanopia (blue-blind)
#00585F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #284d7d;
/* rgb */ color: rgb(40, 77, 125);
/* oklch */ color: oklch(41.7% 0.091 255.8);
Tailwind
colors: {
  custom: {
    50: '#6c7ea3',
    500: '#284d7d',
    950: '#000000',
  },
}
SCSS
$custom: #284d7d;
$custom-light: #6c7ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#284d7d",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 125
  },
  "hsl": {
    "h": 213.882,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41749,
    "c": 0.09119,
    "h": 255.8
  },
  "luminance": 0.0724
}

Semantic roles & 50–950 ramp

primary
#284D7D
secondary
#AE8653
accent
#9D4DDB
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #284D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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