#285AB9#285AB9

#285AB9 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.9% C 0.160 H 261.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#285AB9
RGBrgb(40, 90, 185)
HSLhsl(219, 64%, 44%)
HSVhsv(219, 78%, 73%)
CMYKcmyk(78.4%, 51.4%, 0%, 27.5%)
CIE-LABlab(40.02, 18.01, -54.95)
CIE-LCHlch(40.02, 57.82, 288.14°)
OKLaboklab(48.9% -0.0232 -0.1582)
OKLCHoklch(48.9% 0.16 261.7)
XYZxyz(13.2850, 11.2647, 47.3637)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285AB9 #B98728
analogous
#28A3B9 #285AB9 #3F28B9
triadic
#285AB9 #B9285A #5AB928
tetradic
#285AB9 #B928A3 #B98728 #28B93F
square
#285AB9 #B928A3 #B98728 #28B93F
split-complementary
#285AB9 #B93F28 #A3B928
monochromatic
#122954 #1D4287 #285AB9 #4779D7 #799DE2

Accessibility & contrast

On white

6.46
#285AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#285AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285AB9
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285AB9#FFFFFF#000000##FFFFFF
##285AB91.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C65BC
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #285ab9;
/* rgb */ color: rgb(40, 90, 185);
/* oklch */ color: oklch(48.9% 0.160 261.7);
Tailwind
colors: {
  custom: {
    50: '#7888cf',
    500: '#285ab9',
    950: '#000000',
  },
}
SCSS
$custom: #285ab9;
$custom-light: #7888cf;
$custom-dark: #000000;
JSON
{
  "hex": "#285ab9",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 185
  },
  "hsl": {
    "h": 219.31,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48904,
    "c": 0.15988,
    "h": 261.7
  },
  "luminance": 0.11266
}

Semantic roles & 50–950 ramp

primary
#285AB9
secondary
#CAAC73
accent
#AE40E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #285AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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