#285381#285381

#285381 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.5% C 0.090 H 252.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#285381
RGBrgb(40, 83, 129)
HSLhsl(211, 53%, 33%)
HSVhsv(211, 69%, 51%)
CMYKcmyk(69%, 35.7%, 0%, 49.4%)
CIE-LABlab(34.44, 1.06, -30.27)
CIE-LCHlch(34.44, 30.29, 272.00°)
OKLaboklab(43.46% -0.0279 -0.0858)
OKLCHoklch(43.46% 0.09 252)
XYZxyz(7.9293, 8.2218, 21.9337)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285381 #815628
analogous
#287F81 #285381 #292881
triadic
#285381 #812853 #538128
tetradic
#285381 #81287F #815628 #288129
square
#285381 #81287F #815628 #288129
split-complementary
#285381 #812928 #7F8128
monochromatic
#0B1724 #1A3552 #285381 #3671B0 #5890CB

Accessibility & contrast

On white

7.94
#285381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#285381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285381
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285381#FFFFFF#000000##FFFFFF
##2853811.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5683
Deuteranopia (green-blind)
#324D80
Tritanopia (blue-blind)
#005E64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285381;
/* rgb */ color: rgb(40, 83, 129);
/* oklch */ color: oklch(43.5% 0.090 252.0);
Tailwind
colors: {
  custom: {
    50: '#6c83a6',
    500: '#285381',
    950: '#000000',
  },
}
SCSS
$custom: #285381;
$custom-light: #6c83a6;
$custom-dark: #000000;
JSON
{
  "hex": "#285381",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 129
  },
  "hsl": {
    "h": 211.011,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4346,
    "c": 0.09027,
    "h": 252
  },
  "luminance": 0.08223
}

Semantic roles & 50–950 ramp

primary
#285381
secondary
#B08454
accent
#964CDC
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #285381

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

Preview Lab → · Contrast checker → · Palette generator →

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