#285AB1#285AB1

#285AB1 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.3% C 0.149 H 260.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#285AB1
RGBrgb(40, 90, 177)
HSLhsl(218, 63%, 43%)
HSVhsv(218, 77%, 69%)
CMYKcmyk(77.4%, 49.2%, 0%, 30.6%)
CIE-LABlab(39.47, 14.92, -51.14)
CIE-LCHlch(39.47, 53.27, 286.26°)
OKLaboklab(48.31% -0.0243 -0.147)
OKLCHoklch(48.31% 0.149 260.6)
XYZxyz(12.4642, 10.9363, 43.0405)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285AB1 #B17F28
analogous
#289FB1 #285AB1 #3A28B1
triadic
#285AB1 #B1285A #5AB128
tetradic
#285AB1 #B1289F #B17F28 #28B13A
square
#285AB1 #B1289F #B17F28 #28B13A
split-complementary
#285AB1 #B13A28 #9FB128
monochromatic
#11274D #1D417F #285AB1 #4277D4 #749BE0

Accessibility & contrast

On white

6.59
#285AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#285AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285AB1
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285AB1#FFFFFF#000000##FFFFFF
##285AB11.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2864B4
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #285ab1;
/* rgb */ color: rgb(40, 90, 177);
/* oklch */ color: oklch(48.3% 0.149 260.6);
Tailwind
colors: {
  custom: {
    50: '#7688c9',
    500: '#285ab1',
    950: '#000000',
  },
}
SCSS
$custom: #285ab1;
$custom-light: #7688c9;
$custom-dark: #000000;
JSON
{
  "hex": "#285ab1",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 177
  },
  "hsl": {
    "h": 218.102,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48308,
    "c": 0.14897,
    "h": 260.6
  },
  "luminance": 0.10938
}

Semantic roles & 50–950 ramp

primary
#285AB1
secondary
#C7A66E
accent
#AA42E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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