#284B74#284B74

#284B74 is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.7% C 0.080 H 253.6°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#284B74
RGBrgb(40, 75, 116)
HSLhsl(212, 49%, 31%)
HSVhsv(212, 66%, 45%)
CMYKcmyk(65.5%, 35.3%, 0%, 54.5%)
CIE-LABlab(31.22, 1.40, -27.28)
CIE-LCHlch(31.22, 27.32, 272.93°)
OKLaboklab(40.7% -0.0227 -0.0772)
OKLCHoklch(40.7% 0.08 253.6)
XYZxyz(6.5424, 6.7436, 17.4765)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B74 #745128
analogous
#287174 #284B74 #2B2874
triadic
#284B74 #74284B #4B7428
tetradic
#284B74 #742871 #745128 #28742B
square
#284B74 #742871 #745128 #28742B
split-complementary
#284B74 #742B28 #717428
monochromatic
#091019 #182E46 #284B74 #3868A2 #5387C4

Accessibility & contrast

On white

8.94
#284B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#284B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B74
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B74#FFFFFF#000000##FFFFFF
##284B741.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394D76
Deuteranopia (green-blind)
#2F4673
Tritanopia (blue-blind)
#00545A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #284b74;
/* rgb */ color: rgb(40, 75, 116);
/* oklch */ color: oklch(40.7% 0.080 253.6);
Tailwind
colors: {
  custom: {
    50: '#6a7d9c',
    500: '#284b74',
    950: '#000000',
  },
}
SCSS
$custom: #284b74;
$custom-light: #6a7d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#284b74",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 116
  },
  "hsl": {
    "h": 212.368,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40704,
    "c": 0.08049,
    "h": 253.6
  },
  "luminance": 0.06744
}

Semantic roles & 50–950 ramp

primary
#284B74
secondary
#A67F52
accent
#9950D8
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #284B74

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

Preview Lab → · Contrast checker → · Palette generator →

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