#285AA9#285AA9

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

Color values

HEX#285AA9
RGBrgb(40, 90, 169)
HSLhsl(217, 62%, 41%)
HSVhsv(217, 76%, 66%)
CMYKcmyk(76.3%, 46.7%, 0%, 33.7%)
CIE-LABlab(38.94, 11.82, -47.26)
CIE-LCHlch(38.94, 48.72, 284.05°)
OKLaboklab(47.73% -0.0256 -0.1356)
OKLCHoklch(47.73% 0.138 259.3)
XYZxyz(11.6901, 10.6267, 38.9635)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285AA9 #A97728
analogous
#289AA9 #285AA9 #3628A9
triadic
#285AA9 #A9285A #5AA928
tetradic
#285AA9 #A9289A #A97728 #28A936
square
#285AA9 #A9289A #A97728 #28A936
split-complementary
#285AA9 #A93628 #9AA928
monochromatic
#112546 #1C4078 #285AA9 #3D76D1 #6F99DD

Accessibility & contrast

On white

6.72
#285AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#285AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285AA9
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285AA9#FFFFFF#000000##FFFFFF
##285AA91.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3062AC
Deuteranopia (green-blind)
#1056A7
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #285aa9;
/* rgb */ color: rgb(40, 90, 169);
/* oklch */ color: oklch(47.7% 0.138 259.3);
Tailwind
colors: {
  custom: {
    50: '#7588c3',
    500: '#285aa9',
    950: '#000000',
  },
}
SCSS
$custom: #285aa9;
$custom-light: #7588c3;
$custom-dark: #000000;
JSON
{
  "hex": "#285aa9",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 169
  },
  "hsl": {
    "h": 216.744,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47733,
    "c": 0.13796,
    "h": 259.3
  },
  "luminance": 0.10628
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #285AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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