#284A71#284A71

#284A71 is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.3% C 0.077 H 253.1°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#284A71
RGBrgb(40, 74, 113)
HSLhsl(212, 48%, 30%)
HSVhsv(212, 65%, 44%)
CMYKcmyk(64.6%, 34.5%, 0%, 55.7%)
CIE-LABlab(30.74, 0.94, -26.15)
CIE-LCHlch(30.74, 26.17, 272.05°)
OKLaboklab(40.28% -0.0224 -0.0739)
OKLCHoklch(40.28% 0.077 253.1)
XYZxyz(6.3034, 6.5403, 16.5498)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A71 #714F28
analogous
#286E71 #284A71 #2B2871
triadic
#284A71 #71284A #4A7128
tetradic
#284A71 #71286E #714F28 #28712B
square
#284A71 #71286E #714F28 #28712B
split-complementary
#284A71 #712B28 #6E7128
monochromatic
#080F17 #182C44 #284A71 #38689E #5286C2

Accessibility & contrast

On white

9.10
#284A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#284A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284A71
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A71#FFFFFF#000000##FFFFFF
##284A711.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394C73
Deuteranopia (green-blind)
#304570
Tritanopia (blue-blind)
#005358
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #284a71;
/* rgb */ color: rgb(40, 74, 113);
/* oklch */ color: oklch(40.3% 0.077 253.1);
Tailwind
colors: {
  custom: {
    50: '#697c9a',
    500: '#284a71',
    950: '#000000',
  },
}
SCSS
$custom: #284a71;
$custom-light: #697c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#284a71",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 113
  },
  "hsl": {
    "h": 212.055,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.40276,
    "c": 0.07727,
    "h": 253.1
  },
  "luminance": 0.06541
}

Semantic roles & 50–950 ramp

primary
#284A71
secondary
#A37D52
accent
#9950D7
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #284A71

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

Preview Lab → · Contrast checker → · Palette generator →

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