#284D79#284D79

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

Color values

HEX#284D79
RGBrgb(40, 77, 121)
HSLhsl(213, 50%, 32%)
HSVhsv(213, 67%, 47%)
CMYKcmyk(66.9%, 36.4%, 0%, 52.5%)
CIE-LABlab(32.12, 1.96, -28.98)
CIE-LCHlch(32.12, 29.05, 273.86°)
OKLaboklab(41.5% -0.0236 -0.0821)
OKLCHoklch(41.5% 0.085 254)
XYZxyz(6.9789, 7.1387, 19.0956)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D79 #795428
analogous
#287679 #284D79 #2C2879
triadic
#284D79 #79284D #4D7928
tetradic
#284D79 #792876 #795428 #28792C
square
#284D79 #792876 #795428 #28792C
split-complementary
#284D79 #792C28 #767928
monochromatic
#0A121D #19304B #284D79 #376AA7 #5589C7

Accessibility & contrast

On white

8.65
#284D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#284D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284D79
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284D79#FFFFFF#000000##FFFFFF
##284D791.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A507B
Deuteranopia (green-blind)
#2F4878
Tritanopia (blue-blind)
#00575D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #284d79;
/* rgb */ color: rgb(40, 77, 121);
/* oklch */ color: oklch(41.5% 0.085 254.0);
Tailwind
colors: {
  custom: {
    50: '#6b7ea0',
    500: '#284d79',
    950: '#000000',
  },
}
SCSS
$custom: #284d79;
$custom-light: #6b7ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#284d79",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 121
  },
  "hsl": {
    "h": 212.593,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41501,
    "c": 0.08546,
    "h": 254
  },
  "luminance": 0.07139
}

Semantic roles & 50–950 ramp

primary
#284D79
secondary
#AB8252
accent
#9A4EDA
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #284D79

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

Preview Lab → · Contrast checker → · Palette generator →

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