#285AA8#285AA8

#285AA8 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.7% C 0.137 H 259.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#285AA8
RGBrgb(40, 90, 168)
HSLhsl(217, 62%, 41%)
HSVhsv(217, 76%, 66%)
CMYKcmyk(76.2%, 46.4%, 0%, 34.1%)
CIE-LABlab(38.88, 11.44, -46.77)
CIE-LCHlch(38.88, 48.15, 283.74°)
OKLaboklab(47.66% -0.0257 -0.1341)
OKLCHoklch(47.66% 0.137 259.1)
XYZxyz(11.5965, 10.5893, 38.4710)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285AA8 #A87628
analogous
#289AA8 #285AA8 #3628A8
triadic
#285AA8 #A8285A #5AA828
tetradic
#285AA8 #A8289A #A87628 #28A836
square
#285AA8 #A8289A #A87628 #28A836
split-complementary
#285AA8 #A83628 #9AA828
monochromatic
#102545 #1C4077 #285AA8 #3D76D1 #6E99DC

Accessibility & contrast

On white

6.73
#285AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#285AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285AA8
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285AA8#FFFFFF#000000##FFFFFF
##285AA81.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AB
Deuteranopia (green-blind)
#1356A6
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #285aa8;
/* rgb */ color: rgb(40, 90, 168);
/* oklch */ color: oklch(47.7% 0.137 259.1);
Tailwind
colors: {
  custom: {
    50: '#7488c2',
    500: '#285aa8',
    950: '#000000',
  },
}
SCSS
$custom: #285aa8;
$custom-light: #7488c2;
$custom-dark: #000000;
JSON
{
  "hex": "#285aa8",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 168
  },
  "hsl": {
    "h": 216.563,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47662,
    "c": 0.13658,
    "h": 259.1
  },
  "luminance": 0.10591
}

Semantic roles & 50–950 ramp

primary
#285AA8
secondary
#C3A069
accent
#A643E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #285AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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