#285C8E#285C8E

#285C8E is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.4% C 0.099 H 250.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#285C8E
RGBrgb(40, 92, 142)
HSLhsl(209, 56%, 36%)
HSVhsv(209, 72%, 56%)
CMYKcmyk(71.8%, 35.2%, 0%, 44.3%)
CIE-LABlab(37.95, 0.19, -32.68)
CIE-LCHlch(37.95, 32.68, 270.34°)
OKLaboklab(46.44% -0.0337 -0.0927)
OKLCHoklch(46.44% 0.099 250)
XYZxyz(9.5829, 10.0574, 27.0222)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C8E #8E5A28
analogous
#288E8D #285C8E #28298E
triadic
#285C8E #8E285C #5C8E28
tetradic
#285C8E #8D288E #8E5A28 #298E28
square
#285C8E #8D288E #8E5A28 #298E28
split-complementary
#285C8E #8E2829 #8E8D28
monochromatic
#0D1E2F #1B3D5E #285C8E #357BBE #5F99D2

Accessibility & contrast

On white

6.97
#285C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#285C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285C8E
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285C8E#FFFFFF#000000##FFFFFF
##285C8E1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F90
Deuteranopia (green-blind)
#37558D
Tritanopia (blue-blind)
#00686E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #285c8e;
/* rgb */ color: rgb(40, 92, 142);
/* oklch */ color: oklch(46.4% 0.099 250.0);
Tailwind
colors: {
  custom: {
    50: '#6f89af',
    500: '#285c8e',
    950: '#000000',
  },
}
SCSS
$custom: #285c8e;
$custom-light: #6f89af;
$custom-dark: #000000;
JSON
{
  "hex": "#285c8e",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 142
  },
  "hsl": {
    "h": 209.412,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46437,
    "c": 0.09868,
    "h": 250
  },
  "luminance": 0.10058
}

Semantic roles & 50–950 ramp

primary
#285C8E
secondary
#B7885B
accent
#9248DF
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #285C8E

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

Preview Lab → · Contrast checker → · Palette generator →

#285C8E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva