#284D76#284D76

#284D76 is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.3% C 0.081 H 252.5°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#284D76
RGBrgb(40, 77, 118)
HSLhsl(212, 49%, 31%)
HSVhsv(212, 66%, 46%)
CMYKcmyk(66.1%, 34.7%, 0%, 53.7%)
CIE-LABlab(31.96, 0.83, -27.37)
CIE-LCHlch(31.96, 27.38, 271.74°)
OKLaboklab(41.32% -0.0244 -0.0774)
OKLCHoklch(41.32% 0.081 252.5)
XYZxyz(6.7978, 7.0662, 18.1417)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D76 #765128
analogous
#287476 #284D76 #2A2876
triadic
#284D76 #76284D #4D7628
tetradic
#284D76 #762874 #765128 #28762A
square
#284D76 #762874 #765128 #28762A
split-complementary
#284D76 #762A28 #747628
monochromatic
#09111B #192F48 #284D76 #376BA4 #5489C5

Accessibility & contrast

On white

8.70
#284D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#284D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284D76
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284D76#FFFFFF#000000##FFFFFF
##284D761.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4F78
Deuteranopia (green-blind)
#314875
Tritanopia (blue-blind)
#00565C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #284d76;
/* rgb */ color: rgb(40, 77, 118);
/* oklch */ color: oklch(41.3% 0.081 252.5);
Tailwind
colors: {
  custom: {
    50: '#6a7e9d',
    500: '#284d76',
    950: '#000000',
  },
}
SCSS
$custom: #284d76;
$custom-light: #6a7e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#284d76",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 118
  },
  "hsl": {
    "h": 211.538,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4132,
    "c": 0.0812,
    "h": 252.5
  },
  "luminance": 0.07067
}

Semantic roles & 50–950 ramp

primary
#284D76
secondary
#A87F52
accent
#974FD9
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #284D76

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

Preview Lab → · Contrast checker → · Palette generator →

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