#285C97#285C97

#285C97 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 47.0% C 0.111 H 253.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#285C97
RGBrgb(40, 92, 151)
HSLhsl(212, 58%, 37%)
HSVhsv(212, 74%, 59%)
CMYKcmyk(73.5%, 39.1%, 0%, 40.8%)
CIE-LABlab(38.44, 3.60, -37.31)
CIE-LCHlch(38.44, 37.49, 275.51°)
OKLaboklab(46.99% -0.0312 -0.1063)
OKLCHoklch(46.99% 0.111 253.6)
XYZxyz(10.2861, 10.3386, 30.7256)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C97 #976328
analogous
#289397 #285C97 #2C2897
triadic
#285C97 #97285C #5C9728
tetradic
#285C97 #972893 #976328 #28972C
square
#285C97 #972893 #976328 #28972C
split-complementary
#285C97 #972C28 #939728
monochromatic
#0E2136 #1B3F67 #285C97 #3579C7 #6499D6

Accessibility & contrast

On white

6.84
#285C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#285C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285C97
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285C97#FFFFFF#000000##FFFFFF
##285C971.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416099
Deuteranopia (green-blind)
#305696
Tritanopia (blue-blind)
#006A72
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #285c97;
/* rgb */ color: rgb(40, 92, 151);
/* oklch */ color: oklch(47.0% 0.111 253.6);
Tailwind
colors: {
  custom: {
    50: '#7189b6',
    500: '#285c97',
    950: '#000000',
  },
}
SCSS
$custom: #285c97;
$custom-light: #7189b6;
$custom-dark: #000000;
JSON
{
  "hex": "#285c97",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 151
  },
  "hsl": {
    "h": 211.892,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4699,
    "c": 0.11082,
    "h": 253.6
  },
  "luminance": 0.1034
}

Semantic roles & 50–950 ramp

primary
#285C97
secondary
#BC905F
accent
#9946E1
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #285C97

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

Preview Lab → · Contrast checker → · Palette generator →

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