#285281#285281

#285281 is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.2% C 0.091 H 252.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#285281
RGBrgb(40, 82, 129)
HSLhsl(212, 53%, 33%)
HSVhsv(212, 69%, 51%)
CMYKcmyk(69%, 36.4%, 0%, 49.4%)
CIE-LABlab(34.13, 1.71, -30.77)
CIE-LCHlch(34.13, 30.82, 273.17°)
OKLaboklab(43.22% -0.0268 -0.0873)
OKLCHoklch(43.22% 0.091 252.9)
XYZxyz(7.8534, 8.0699, 21.9084)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285281 #815728
analogous
#287E81 #285281 #2A2881
triadic
#285281 #812852 #528128
tetradic
#285281 #81287E #815728 #28812A
square
#285281 #81287E #815728 #28812A
split-complementary
#285281 #812A28 #7E8128
monochromatic
#0B1724 #1A3452 #285281 #3670B0 #588ECB

Accessibility & contrast

On white

8.03
#285281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#285281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285281
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285281#FFFFFF#000000##FFFFFF
##2852811.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5583
Deuteranopia (green-blind)
#314C80
Tritanopia (blue-blind)
#005D63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #285281;
/* rgb */ color: rgb(40, 82, 129);
/* oklch */ color: oklch(43.2% 0.091 252.9);
Tailwind
colors: {
  custom: {
    50: '#6c82a6',
    500: '#285281',
    950: '#000000',
  },
}
SCSS
$custom: #285281;
$custom-light: #6c82a6;
$custom-dark: #000000;
JSON
{
  "hex": "#285281",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 129
  },
  "hsl": {
    "h": 211.685,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43215,
    "c": 0.09134,
    "h": 252.9
  },
  "luminance": 0.08071
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #285281

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

Preview Lab → · Contrast checker → · Palette generator →

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