#284870#284870

#284870 is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.7% C 0.078 H 254.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#284870
RGBrgb(40, 72, 112)
HSLhsl(213, 47%, 30%)
HSVhsv(213, 64%, 44%)
CMYKcmyk(64.3%, 35.7%, 0%, 56.1%)
CIE-LABlab(30.05, 1.88, -26.61)
CIE-LCHlch(30.05, 26.68, 274.05°)
OKLaboklab(39.72% -0.0204 -0.0753)
OKLCHoklch(39.72% 0.078 254.9)
XYZxyz(6.1160, 6.2551, 16.2111)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284870 #705028
analogous
#286C70 #284870 #2C2870
triadic
#284870 #702848 #487028
tetradic
#284870 #70286C #705028 #28702C
square
#284870 #70286C #705028 #28702C
split-complementary
#284870 #702C28 #6C7028
monochromatic
#080E17 #182B43 #284870 #38659D #5183C1

Accessibility & contrast

On white

9.33
#284870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#284870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284870
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284870#FFFFFF#000000##FFFFFF
##2848701.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374B72
Deuteranopia (green-blind)
#2D446F
Tritanopia (blue-blind)
#005156
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #284870;
/* rgb */ color: rgb(40, 72, 112);
/* oklch */ color: oklch(39.7% 0.078 254.9);
Tailwind
colors: {
  custom: {
    50: '#697a99',
    500: '#284870',
    950: '#000000',
  },
}
SCSS
$custom: #284870;
$custom-light: #697a99;
$custom-dark: #000000;
JSON
{
  "hex": "#284870",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 112
  },
  "hsl": {
    "h": 213.333,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39719,
    "c": 0.078,
    "h": 254.9
  },
  "luminance": 0.06256
}

Semantic roles & 50–950 ramp

primary
#284870
secondary
#A27E51
accent
#9B51D7
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #284870

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

Preview Lab → · Contrast checker → · Palette generator →

#284870 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva