#285F9D#285F9D

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

Color values

HEX#285F9D
RGBrgb(40, 95, 157)
HSLhsl(212, 59%, 39%)
HSVhsv(212, 75%, 62%)
CMYKcmyk(74.5%, 39.5%, 0%, 38.4%)
CIE-LABlab(39.70, 3.97, -38.92)
CIE-LCHlch(39.70, 39.12, 275.82°)
OKLaboklab(48.08% -0.0327 -0.111)
OKLCHoklch(48.08% 0.116 253.6)
XYZxyz(11.0508, 11.0686, 33.4458)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F9D #9D6628
analogous
#28999D #285F9D #2B289D
triadic
#285F9D #9D285F #5F9D28
tetradic
#285F9D #9D2899 #9D6628 #289D2B
square
#285F9D #9D2899 #9D6628 #289D2B
split-complementary
#285F9D #9D2B28 #999D28
monochromatic
#0F243B #1C416C #285F9D #367DCC #679CD8

Accessibility & contrast

On white

6.53
#285F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#285F9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285F9D
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285F9D#FFFFFF#000000##FFFFFF
##285F9D1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42639F
Deuteranopia (green-blind)
#30599C
Tritanopia (blue-blind)
#006E76
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #285f9d;
/* rgb */ color: rgb(40, 95, 157);
/* oklch */ color: oklch(48.1% 0.116 253.6);
Tailwind
colors: {
  custom: {
    50: '#728cba',
    500: '#285f9d',
    950: '#000000',
  },
}
SCSS
$custom: #285f9d;
$custom-light: #728cba;
$custom-dark: #000000;
JSON
{
  "hex": "#285f9d",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 157
  },
  "hsl": {
    "h": 211.795,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48079,
    "c": 0.11568,
    "h": 253.6
  },
  "luminance": 0.1107
}

Semantic roles & 50–950 ramp

primary
#285F9D
secondary
#BE9362
accent
#9945E3
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #285F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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