#284B77#284B77

#284B77 is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.9% C 0.085 H 255.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#284B77
RGBrgb(40, 75, 119)
HSLhsl(213, 50%, 31%)
HSVhsv(213, 66%, 47%)
CMYKcmyk(66.4%, 37%, 0%, 53.3%)
CIE-LABlab(31.38, 2.52, -28.90)
CIE-LCHlch(31.38, 29.01, 274.98°)
OKLaboklab(40.89% -0.0218 -0.0819)
OKLCHoklch(40.89% 0.085 255.1)
XYZxyz(6.7197, 6.8145, 18.4104)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B77 #775428
analogous
#287277 #284B77 #2C2877
triadic
#284B77 #77284B #4B7728
tetradic
#284B77 #772872 #775428 #28772C
square
#284B77 #772872 #775428 #28772C
split-complementary
#284B77 #772C28 #727728
monochromatic
#09111B #192E49 #284B77 #3768A5 #5486C5

Accessibility & contrast

On white

8.89
#284B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#284B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B77
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B77#FFFFFF#000000##FFFFFF
##284B771.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E79
Deuteranopia (green-blind)
#2D4676
Tritanopia (blue-blind)
#00555B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #284b77;
/* rgb */ color: rgb(40, 75, 119);
/* oklch */ color: oklch(40.9% 0.085 255.1);
Tailwind
colors: {
  custom: {
    50: '#6a7d9e',
    500: '#284b77',
    950: '#000000',
  },
}
SCSS
$custom: #284b77;
$custom-light: #6a7d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#284b77",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 119
  },
  "hsl": {
    "h": 213.418,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40887,
    "c": 0.0848,
    "h": 255.1
  },
  "luminance": 0.06815
}

Semantic roles & 50–950 ramp

primary
#284B77
secondary
#A98252
accent
#9C4FD9
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #284B77

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

Preview Lab → · Contrast checker → · Palette generator →

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