#285180#285180

#285180 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.9% C 0.091 H 253.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#285180
RGBrgb(40, 81, 128)
HSLhsl(212, 52%, 33%)
HSVhsv(212, 69%, 50%)
CMYKcmyk(68.8%, 36.7%, 0%, 49.8%)
CIE-LABlab(33.76, 1.98, -30.73)
CIE-LCHlch(33.76, 30.80, 273.69°)
OKLaboklab(42.91% -0.026 -0.0872)
OKLCHoklch(42.91% 0.091 253.4)
XYZxyz(7.7124, 7.8937, 21.5351)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285180 #805728
analogous
#287D80 #285180 #2B2880
triadic
#285180 #802851 #518028
tetradic
#285180 #80287D #805728 #28802B
square
#285180 #80287D #805728 #28802B
split-complementary
#285180 #802B28 #7D8028
monochromatic
#0B1623 #193351 #285180 #376FAF #588DCB

Accessibility & contrast

On white

8.14
#285180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#285180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285180
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285180#FFFFFF#000000##FFFFFF
##2851801.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5482
Deuteranopia (green-blind)
#304C7F
Tritanopia (blue-blind)
#005C62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #285180;
/* rgb */ color: rgb(40, 81, 128);
/* oklch */ color: oklch(42.9% 0.091 253.4);
Tailwind
colors: {
  custom: {
    50: '#6c81a5',
    500: '#285180',
    950: '#000000',
  },
}
SCSS
$custom: #285180;
$custom-light: #6c81a5;
$custom-dark: #000000;
JSON
{
  "hex": "#285180",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 128
  },
  "hsl": {
    "h": 212.045,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4291,
    "c": 0.09101,
    "h": 253.4
  },
  "luminance": 0.07894
}

Semantic roles & 50–950 ramp

primary
#285180
secondary
#B08554
accent
#994CDC
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #285180

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

Preview Lab → · Contrast checker → · Palette generator →

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