#285AB6#285AB6

#285AB6 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.7% C 0.156 H 261.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#285AB6
RGBrgb(40, 90, 182)
HSLhsl(219, 64%, 44%)
HSVhsv(219, 78%, 71%)
CMYKcmyk(78%, 50.5%, 0%, 28.6%)
CIE-LABlab(39.81, 16.85, -53.53)
CIE-LCHlch(39.81, 56.12, 287.47°)
OKLaboklab(48.68% -0.0236 -0.154)
OKLCHoklch(48.68% 0.156 261.3)
XYZxyz(12.9717, 11.1393, 45.7134)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285AB6 #B68428
analogous
#28A1B6 #285AB6 #3D28B6
triadic
#285AB6 #B6285A #5AB628
tetradic
#285AB6 #B628A1 #B68428 #28B63D
square
#285AB6 #B628A1 #B68428 #28B63D
split-complementary
#285AB6 #B63D28 #A1B628
monochromatic
#122852 #1D4184 #285AB6 #4578D6 #779DE1

Accessibility & contrast

On white

6.51
#285AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#285AB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285AB6
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285AB6#FFFFFF#000000##FFFFFF
##285AB61.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2165B9
Deuteranopia (green-blind)
#0058B4
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #285ab6;
/* rgb */ color: rgb(40, 90, 182);
/* oklch */ color: oklch(48.7% 0.156 261.3);
Tailwind
colors: {
  custom: {
    50: '#7888cc',
    500: '#285ab6',
    950: '#000000',
  },
}
SCSS
$custom: #285ab6;
$custom-light: #7888cc;
$custom-dark: #000000;
JSON
{
  "hex": "#285ab6",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 182
  },
  "hsl": {
    "h": 218.873,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48678,
    "c": 0.1558,
    "h": 261.3
  },
  "luminance": 0.11141
}

Semantic roles & 50–950 ramp

primary
#285AB6
secondary
#C9AA71
accent
#AC41E7
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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