#285371#285371

#285371 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.5% C 0.069 H 241.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#285371
RGBrgb(40, 83, 113)
HSLhsl(205, 48%, 30%)
HSVhsv(205, 65%, 44%)
CMYKcmyk(64.6%, 26.5%, 0%, 55.7%)
CIE-LABlab(33.62, -4.84, -21.64)
CIE-LCHlch(33.62, 22.17, 257.39°)
OKLaboklab(42.55% -0.0332 -0.0608)
OKLCHoklch(42.55% 0.069 241.4)
XYZxyz(6.9478, 7.8292, 16.7646)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285371 #714628
analogous
#28716B #285371 #282E71
triadic
#285371 #712853 #537128
tetradic
#285371 #6B2871 #714628 #2E7128
square
#285371 #6B2871 #714628 #2E7128
split-complementary
#285371 #71282E #716B28
monochromatic
#081117 #183244 #285371 #38749E #5294C2

Accessibility & contrast

On white

8.18
#285371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#285371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285371
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285371#FFFFFF#000000##FFFFFF
##2853711.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465372
Deuteranopia (green-blind)
#3C4C70
Tritanopia (blue-blind)
#005A5D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #285371;
/* rgb */ color: rgb(40, 83, 113);
/* oklch */ color: oklch(42.5% 0.069 241.4);
Tailwind
colors: {
  custom: {
    50: '#6a839a',
    500: '#285371',
    950: '#000000',
  },
}
SCSS
$custom: #285371;
$custom-light: #6a839a;
$custom-dark: #000000;
JSON
{
  "hex": "#285371",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 113
  },
  "hsl": {
    "h": 204.658,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.42549,
    "c": 0.06922,
    "h": 241.4
  },
  "luminance": 0.0783
}

Semantic roles & 50–950 ramp

primary
#285371
secondary
#A37352
accent
#8850D7
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #285371

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

Preview Lab → · Contrast checker → · Palette generator →

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