#285AB7#285AB7

#285AB7 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.8% C 0.157 H 261.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#285AB7
RGBrgb(40, 90, 183)
HSLhsl(219, 64%, 44%)
HSVhsv(219, 78%, 72%)
CMYKcmyk(78.1%, 50.8%, 0%, 28.2%)
CIE-LABlab(39.88, 17.24, -54.00)
CIE-LCHlch(39.88, 56.69, 287.70°)
OKLaboklab(48.75% -0.0234 -0.1554)
OKLCHoklch(48.75% 0.157 261.4)
XYZxyz(13.0754, 11.1808, 46.2596)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285AB7 #B78528
analogous
#28A1B7 #285AB7 #3D28B7
triadic
#285AB7 #B7285A #5AB728
tetradic
#285AB7 #B728A1 #B78528 #28B73D
square
#285AB7 #B728A1 #B78528 #28B73D
split-complementary
#285AB7 #B73D28 #A1B728
monochromatic
#122953 #1D4185 #285AB7 #4678D6 #789DE1

Accessibility & contrast

On white

6.49
#285AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#285AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285AB7
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285AB7#FFFFFF#000000##FFFFFF
##285AB71.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F65BA
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #285ab7;
/* rgb */ color: rgb(40, 90, 183);
/* oklch */ color: oklch(48.8% 0.157 261.4);
Tailwind
colors: {
  custom: {
    50: '#7888cd',
    500: '#285ab7',
    950: '#000000',
  },
}
SCSS
$custom: #285ab7;
$custom-light: #7888cd;
$custom-dark: #000000;
JSON
{
  "hex": "#285ab7",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 183
  },
  "hsl": {
    "h": 219.021,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48753,
    "c": 0.15717,
    "h": 261.4
  },
  "luminance": 0.11182
}

Semantic roles & 50–950 ramp

primary
#285AB7
secondary
#C9AB72
accent
#AD41E7
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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