#285A9C#285A9C

#285A9C is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.8% C 0.120 H 256.4°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#285A9C
RGBrgb(40, 90, 156)
HSLhsl(214, 59%, 38%)
HSVhsv(214, 74%, 61%)
CMYKcmyk(74.4%, 42.3%, 0%, 38.8%)
CIE-LABlab(38.13, 6.81, -40.81)
CIE-LCHlch(38.13, 41.37, 279.47°)
OKLaboklab(46.84% -0.0281 -0.1166)
OKLCHoklch(46.84% 0.12 256.4)
XYZxyz(10.5298, 10.1626, 32.8527)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285A9C #9C6A28
analogous
#28949C #285A9C #30289C
triadic
#285A9C #9C285A #5A9C28
tetradic
#285A9C #9C2894 #9C6A28 #289C30
square
#285A9C #9C2894 #9C6A28 #289C30
split-complementary
#285A9C #9C3028 #949C28
monochromatic
#0F223B #1C3E6B #285A9C #3676CB #6797D8

Accessibility & contrast

On white

6.92
#285A9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#285A9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285A9C
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285A9C#FFFFFF#000000##FFFFFF
##285A9C1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A609F
Deuteranopia (green-blind)
#27559B
Tritanopia (blue-blind)
#006973
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #285a9c;
/* rgb */ color: rgb(40, 90, 156);
/* oklch */ color: oklch(46.8% 0.120 256.4);
Tailwind
colors: {
  custom: {
    50: '#7288b9',
    500: '#285a9c',
    950: '#000000',
  },
}
SCSS
$custom: #285a9c;
$custom-light: #7288b9;
$custom-dark: #000000;
JSON
{
  "hex": "#285a9c",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 156
  },
  "hsl": {
    "h": 214.138,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46843,
    "c": 0.11996,
    "h": 256.4
  },
  "luminance": 0.10164
}

Semantic roles & 50–950 ramp

primary
#285A9C
secondary
#BE9662
accent
#9F45E2
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #285A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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