#284F77#284F77

#284F77 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.9% C 0.081 H 250.8°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#284F77
RGBrgb(40, 79, 119)
HSLhsl(210, 50%, 31%)
HSVhsv(210, 66%, 47%)
CMYKcmyk(66.4%, 33.6%, 0%, 53.3%)
CIE-LABlab(32.64, -0.09, -26.91)
CIE-LCHlch(32.64, 26.91, 269.80°)
OKLaboklab(41.88% -0.0264 -0.0761)
OKLCHoklch(41.88% 0.081 250.8)
XYZxyz(6.9996, 7.3743, 18.5037)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284F77 #775028
analogous
#287677 #284F77 #282877
triadic
#284F77 #77284F #4F7728
tetradic
#284F77 #772876 #775028 #287728
square
#284F77 #772876 #775028 #287728
split-complementary
#284F77 #772828 #767728
monochromatic
#09121B #193149 #284F77 #376DA5 #548CC5

Accessibility & contrast

On white

8.48
#284F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#284F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284F77
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284F77#FFFFFF#000000##FFFFFF
##284F771.008.482.478.48
#FFFFFF8.481.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5179
Deuteranopia (green-blind)
#334976
Tritanopia (blue-blind)
#00585D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #284f77;
/* rgb */ color: rgb(40, 79, 119);
/* oklch */ color: oklch(41.9% 0.081 250.8);
Tailwind
colors: {
  custom: {
    50: '#6b809e',
    500: '#284f77',
    950: '#000000',
  },
}
SCSS
$custom: #284f77;
$custom-light: #6b809e;
$custom-dark: #000000;
JSON
{
  "hex": "#284f77",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 119
  },
  "hsl": {
    "h": 210.38,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41876,
    "c": 0.08055,
    "h": 250.8
  },
  "luminance": 0.07375
}

Semantic roles & 50–950 ramp

primary
#284F77
secondary
#A97E52
accent
#954FD9
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #284F77

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

Preview Lab → · Contrast checker → · Palette generator →

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