#285FAE#285FAE

#285FAE is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.2% C 0.139 H 258.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#285FAE
RGBrgb(40, 95, 174)
HSLhsl(215, 63%, 42%)
HSVhsv(215, 77%, 68%)
CMYKcmyk(77%, 45.4%, 0%, 31.8%)
CIE-LABlab(40.72, 10.50, -47.37)
CIE-LCHlch(40.72, 48.51, 282.49°)
OKLaboklab(49.21% -0.0289 -0.1358)
OKLCHoklch(49.21% 0.139 258)
XYZxyz(12.6045, 11.6901, 41.6283)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285FAE #AE7728
analogous
#28A2AE #285FAE #3428AE
triadic
#285FAE #AE285F #5FAE28
tetradic
#285FAE #AE28A2 #AE7728 #28AE34
square
#285FAE #AE28A2 #AE7728 #28AE34
split-complementary
#285FAE #AE3428 #A2AE28
monochromatic
#11294A #1D447C #285FAE #407CD3 #729EDF

Accessibility & contrast

On white

6.29
#285FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#285FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285FAE
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285FAE#FFFFFF#000000##FFFFFF
##285FAE1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B1
Deuteranopia (green-blind)
#195AAC
Tritanopia (blue-blind)
#00727E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #285fae;
/* rgb */ color: rgb(40, 95, 174);
/* oklch */ color: oklch(49.2% 0.139 258.0);
Tailwind
colors: {
  custom: {
    50: '#768bc7',
    500: '#285fae',
    950: '#000000',
  },
}
SCSS
$custom: #285fae;
$custom-light: #768bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#285fae",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 174
  },
  "hsl": {
    "h": 215.373,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49205,
    "c": 0.13883,
    "h": 258
  },
  "luminance": 0.11692
}

Semantic roles & 50–950 ramp

primary
#285FAE
secondary
#C6A16C
accent
#A342E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #285FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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