#284E82#284E82

#284E82 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.3% C 0.097 H 256.8°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#284E82
RGBrgb(40, 78, 130)
HSLhsl(215, 53%, 33%)
HSVhsv(215, 69%, 51%)
CMYKcmyk(69.2%, 40%, 0%, 49%)
CIE-LABlab(32.94, 4.71, -33.26)
CIE-LCHlch(32.94, 33.60, 278.05°)
OKLaboklab(42.31% -0.0222 -0.0947)
OKLCHoklch(42.31% 0.097 256.8)
XYZxyz(7.6273, 7.5108, 22.1625)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284E82 #825C28
analogous
#287B82 #284E82 #2F2882
triadic
#284E82 #82284E #4E8228
tetradic
#284E82 #82287B #825C28 #28822F
square
#284E82 #82287B #825C28 #28822F
split-complementary
#284E82 #822F28 #7B8228
monochromatic
#0B1624 #1A3253 #284E82 #366AB1 #5989CC

Accessibility & contrast

On white

8.39
#284E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#284E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284E82
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284E82#FFFFFF#000000##FFFFFF
##284E821.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375284
Deuteranopia (green-blind)
#294A81
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #284e82;
/* rgb */ color: rgb(40, 78, 130);
/* oklch */ color: oklch(42.3% 0.097 256.8);
Tailwind
colors: {
  custom: {
    50: '#6d7fa6',
    500: '#284e82',
    950: '#000000',
  },
}
SCSS
$custom: #284e82;
$custom-light: #6d7fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#284e82",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 214.667,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42309,
    "c": 0.09724,
    "h": 256.8
  },
  "luminance": 0.07512
}

Semantic roles & 50–950 ramp

primary
#284E82
secondary
#B18A55
accent
#9F4BDC
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #284E82

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

Preview Lab → · Contrast checker → · Palette generator →

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