#284D74#284D74

#284D74 is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.2% C 0.078 H 251.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#284D74
RGBrgb(40, 77, 116)
HSLhsl(211, 49%, 31%)
HSVhsv(211, 66%, 45%)
CMYKcmyk(65.5%, 33.6%, 0%, 54.5%)
CIE-LABlab(31.85, 0.09, -26.29)
CIE-LCHlch(31.85, 26.29, 270.19°)
OKLaboklab(41.2% -0.025 -0.0743)
OKLCHoklch(41.2% 0.078 251.4)
XYZxyz(6.6802, 7.0192, 17.5224)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D74 #744F28
analogous
#287374 #284D74 #292874
triadic
#284D74 #74284D #4D7428
tetradic
#284D74 #742873 #744F28 #287429
square
#284D74 #742873 #744F28 #287429
split-complementary
#284D74 #742928 #737428
monochromatic
#091119 #182F46 #284D74 #386BA2 #538AC4

Accessibility & contrast

On white

8.74
#284D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#284D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284D74
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284D74#FFFFFF#000000##FFFFFF
##284D741.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4F76
Deuteranopia (green-blind)
#324873
Tritanopia (blue-blind)
#00565B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #284d74;
/* rgb */ color: rgb(40, 77, 116);
/* oklch */ color: oklch(41.2% 0.078 251.4);
Tailwind
colors: {
  custom: {
    50: '#6a7e9c',
    500: '#284d74',
    950: '#000000',
  },
}
SCSS
$custom: #284d74;
$custom-light: #6a7e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#284d74",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 116
  },
  "hsl": {
    "h": 210.789,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41201,
    "c": 0.0784,
    "h": 251.4
  },
  "luminance": 0.0702
}

Semantic roles & 50–950 ramp

primary
#284D74
secondary
#A67D52
accent
#9650D8
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #284D74

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

Preview Lab → · Contrast checker → · Palette generator →

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