#285FAB#285FAB

#285FAB is a mid, vivid cyan. Relative luminance 0.116; OKLCH L 49.0% C 0.135 H 257.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#285FAB
RGBrgb(40, 95, 171)
HSLhsl(215, 62%, 41%)
HSVhsv(215, 77%, 67%)
CMYKcmyk(76.6%, 44.4%, 0%, 32.9%)
CIE-LABlab(40.53, 9.34, -45.90)
CIE-LCHlch(40.53, 46.84, 281.50°)
OKLaboklab(49% -0.0295 -0.1315)
OKLCHoklch(49% 0.135 257.3)
XYZxyz(12.3153, 11.5744, 40.1052)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285FAB #AB7428
analogous
#28A1AB #285FAB #3328AB
triadic
#285FAB #AB285F #5FAB28
tetradic
#285FAB #AB28A1 #AB7428 #28AB33
square
#285FAB #AB28A1 #AB7428 #28AB33
split-complementary
#285FAB #AB3328 #A1AB28
monochromatic
#112848 #1C4379 #285FAB #3E7CD2 #709EDE

Accessibility & contrast

On white

6.33
#285FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#285FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285FAB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285FAB#FFFFFF#000000##FFFFFF
##285FAB1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3966AE
Deuteranopia (green-blind)
#1F5AA9
Tritanopia (blue-blind)
#00717C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #285fab;
/* rgb */ color: rgb(40, 95, 171);
/* oklch */ color: oklch(49.0% 0.135 257.3);
Tailwind
colors: {
  custom: {
    50: '#758bc4',
    500: '#285fab',
    950: '#000000',
  },
}
SCSS
$custom: #285fab;
$custom-light: #758bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#285fab",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 171
  },
  "hsl": {
    "h": 214.809,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48999,
    "c": 0.13474,
    "h": 257.3
  },
  "luminance": 0.11576
}

Semantic roles & 50–950 ramp

primary
#285FAB
secondary
#C49F6A
accent
#A143E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #285FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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