#285388#285388

#285388 is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.9% C 0.100 H 254.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#285388
RGBrgb(40, 83, 136)
HSLhsl(213, 55%, 35%)
HSVhsv(213, 71%, 53%)
CMYKcmyk(70.6%, 39%, 0%, 46.7%)
CIE-LABlab(34.83, 3.71, -33.95)
CIE-LCHlch(34.83, 34.16, 276.23°)
OKLaboklab(43.89% -0.026 -0.0966)
OKLCHoklch(43.89% 0.1 254.9)
XYZxyz(8.4106, 8.4143, 24.4687)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285388 #885D28
analogous
#288388 #285388 #2D2888
triadic
#285388 #882853 #538828
tetradic
#285388 #882883 #885D28 #28882D
square
#285388 #882883 #885D28 #28882D
split-complementary
#285388 #882D28 #838828
monochromatic
#0C1929 #1A3659 #285388 #3670B7 #5B8FCF

Accessibility & contrast

On white

7.83
#285388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#285388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285388
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285388#FFFFFF#000000##FFFFFF
##2853881.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B578A
Deuteranopia (green-blind)
#2D4E87
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285388;
/* rgb */ color: rgb(40, 83, 136);
/* oklch */ color: oklch(43.9% 0.100 254.9);
Tailwind
colors: {
  custom: {
    50: '#6e83ab',
    500: '#285388',
    950: '#000000',
  },
}
SCSS
$custom: #285388;
$custom-light: #6e83ab;
$custom-dark: #000000;
JSON
{
  "hex": "#285388",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 136
  },
  "hsl": {
    "h": 213.125,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43893,
    "c": 0.10004,
    "h": 254.9
  },
  "luminance": 0.08415
}

Semantic roles & 50–950 ramp

primary
#285388
secondary
#B48B58
accent
#9C4ADE
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #285388

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

Preview Lab → · Contrast checker → · Palette generator →

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