#285EA6#285EA6

#285EA6 is a mid, vivid cyan. Relative luminance 0.112; OKLCH L 48.4% C 0.129 H 256.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#285EA6
RGBrgb(40, 94, 166)
HSLhsl(214, 61%, 40%)
HSVhsv(214, 76%, 65%)
CMYKcmyk(75.9%, 43.4%, 0%, 34.9%)
CIE-LABlab(39.93, 8.06, -43.90)
CIE-LCHlch(39.93, 44.64, 280.41°)
OKLaboklab(48.43% -0.0297 -0.1256)
OKLCHoklch(48.43% 0.129 256.7)
XYZxyz(11.7582, 11.2084, 37.6127)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285EA6 #A67028
analogous
#289DA6 #285EA6 #3128A6
triadic
#285EA6 #A6285E #5EA628
tetradic
#285EA6 #A6289D #A67028 #28A631
square
#285EA6 #A6289D #A67028 #28A631
split-complementary
#285EA6 #A63128 #9DA628
monochromatic
#102643 #1C4275 #285EA6 #3B7BD0 #6D9CDC

Accessibility & contrast

On white

6.48
#285EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#285EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285EA6
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285EA6#FFFFFF#000000##FFFFFF
##285EA61.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A64A9
Deuteranopia (green-blind)
#2359A5
Tritanopia (blue-blind)
#006F7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #285ea6;
/* rgb */ color: rgb(40, 94, 166);
/* oklch */ color: oklch(48.4% 0.129 256.7);
Tailwind
colors: {
  custom: {
    50: '#748bc1',
    500: '#285ea6',
    950: '#000000',
  },
}
SCSS
$custom: #285ea6;
$custom-light: #748bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#285ea6",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 166
  },
  "hsl": {
    "h": 214.286,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48433,
    "c": 0.12907,
    "h": 256.7
  },
  "luminance": 0.1121
}

Semantic roles & 50–950 ramp

primary
#285EA6
secondary
#C29B67
accent
#9F44E4
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #285EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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