#285F9A#285F9A

#285F9A is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 47.9% C 0.112 H 252.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#285F9A
RGBrgb(40, 95, 154)
HSLhsl(211, 59%, 38%)
HSVhsv(211, 74%, 60%)
CMYKcmyk(74%, 38.3%, 0%, 39.6%)
CIE-LABlab(39.53, 2.83, -37.40)
CIE-LCHlch(39.53, 37.50, 274.32°)
OKLaboklab(47.89% -0.0334 -0.1065)
OKLCHoklch(47.89% 0.112 252.6)
XYZxyz(10.7978, 10.9674, 32.1134)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F9A #9A6328
analogous
#28989A #285F9A #2A289A
triadic
#285F9A #9A285F #5F9A28
tetradic
#285F9A #9A2898 #9A6328 #289A2A
square
#285F9A #9A2898 #9A6328 #289A2A
split-complementary
#285F9A #9A2A28 #989A28
monochromatic
#0F2339 #1B4169 #285F9A #357DCA #659CD7

Accessibility & contrast

On white

6.58
#285F9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#285F9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285F9A
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285F9A#FFFFFF#000000##FFFFFF
##285F9A1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44639C
Deuteranopia (green-blind)
#335899
Tritanopia (blue-blind)
#006D75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #285f9a;
/* rgb */ color: rgb(40, 95, 154);
/* oklch */ color: oklch(47.9% 0.112 252.6);
Tailwind
colors: {
  custom: {
    50: '#718cb8',
    500: '#285f9a',
    950: '#000000',
  },
}
SCSS
$custom: #285f9a;
$custom-light: #718cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#285f9a",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 154
  },
  "hsl": {
    "h": 211.053,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4789,
    "c": 0.11162,
    "h": 252.6
  },
  "luminance": 0.10969
}

Semantic roles & 50–950 ramp

primary
#285F9A
secondary
#BD9161
accent
#9746E2
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #285F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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