#285181#285181

#285181 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.0% C 0.092 H 253.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#285181
RGBrgb(40, 81, 129)
HSLhsl(212, 53%, 33%)
HSVhsv(212, 69%, 51%)
CMYKcmyk(69%, 37.2%, 0%, 49.4%)
CIE-LABlab(33.82, 2.36, -31.26)
CIE-LCHlch(33.82, 31.35, 274.31°)
OKLaboklab(42.97% -0.0257 -0.0888)
OKLCHoklch(42.97% 0.092 253.8)
XYZxyz(7.7785, 7.9202, 21.8834)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285181 #815828
analogous
#287D81 #285181 #2C2881
triadic
#285181 #812851 #518128
tetradic
#285181 #81287D #815828 #28812C
square
#285181 #81287D #815828 #28812C
split-complementary
#285181 #812C28 #7D8128
monochromatic
#0B1624 #1A3452 #285181 #366EB0 #588DCB

Accessibility & contrast

On white

8.13
#285181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285181
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285181#FFFFFF#000000##FFFFFF
##2851811.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5483
Deuteranopia (green-blind)
#2F4C80
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #285181;
/* rgb */ color: rgb(40, 81, 129);
/* oklch */ color: oklch(43.0% 0.092 253.8);
Tailwind
colors: {
  custom: {
    50: '#6c81a6',
    500: '#285181',
    950: '#000000',
  },
}
SCSS
$custom: #285181;
$custom-light: #6c81a6;
$custom-dark: #000000;
JSON
{
  "hex": "#285181",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 212.36,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42971,
    "c": 0.09241,
    "h": 253.8
  },
  "luminance": 0.07921
}

Semantic roles & 50–950 ramp

primary
#285181
secondary
#B08654
accent
#9A4CDC
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #285181

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

Preview Lab → · Contrast checker → · Palette generator →

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