#285AB4#285AB4

#285AB4 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.5% C 0.153 H 261.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#285AB4
RGBrgb(40, 90, 180)
HSLhsl(219, 64%, 43%)
HSVhsv(219, 78%, 71%)
CMYKcmyk(77.8%, 50%, 0%, 29.4%)
CIE-LABlab(39.68, 16.08, -52.57)
CIE-LCHlch(39.68, 54.98, 287.00°)
OKLaboklab(48.53% -0.0238 -0.1512)
OKLCHoklch(48.53% 0.153 261)
XYZxyz(12.7665, 11.0573, 44.6326)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285AB4 #B48228
analogous
#28A0B4 #285AB4 #3C28B4
triadic
#285AB4 #B4285A #5AB428
tetradic
#285AB4 #B428A0 #B48228 #28B43C
square
#285AB4 #B428A0 #B48228 #28B43C
split-complementary
#285AB4 #B43C28 #A0B428
monochromatic
#122850 #1D4182 #285AB4 #4478D5 #769CE1

Accessibility & contrast

On white

6.54
#285AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#285AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285AB4
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285AB4#FFFFFF#000000##FFFFFF
##285AB41.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2464B7
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #285ab4;
/* rgb */ color: rgb(40, 90, 180);
/* oklch */ color: oklch(48.5% 0.153 261.0);
Tailwind
colors: {
  custom: {
    50: '#7788cb',
    500: '#285ab4',
    950: '#000000',
  },
}
SCSS
$custom: #285ab4;
$custom-light: #7788cb;
$custom-dark: #000000;
JSON
{
  "hex": "#285ab4",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 180
  },
  "hsl": {
    "h": 218.571,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48529,
    "c": 0.15308,
    "h": 261
  },
  "luminance": 0.11059
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #285AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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