#285AE2#285AE2

#285AE2 is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.2% C 0.214 H 264.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#285AE2
RGBrgb(40, 90, 226)
HSLhsl(224, 76%, 52%)
HSVhsv(224, 82%, 89%)
CMYKcmyk(82.3%, 60.2%, 0%, 11.4%)
CIE-LABlab(43.14, 33.56, -73.50)
CIE-LCHlch(43.14, 80.80, 294.54°)
OKLaboklab(52.23% -0.0204 -0.2127)
OKLCHoklch(52.23% 0.214 264.5)
XYZxyz(18.2538, 13.2522, 73.5326)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285AE2 #E2B028
analogous
#28B7E2 #285AE2 #5328E2
triadic
#285AE2 #E2285A #5AE228
tetradic
#285AE2 #E228B7 #E2B028 #28E253
square
#285AE2 #E228B7 #E2B028 #28E253
split-complementary
#285AE2 #E25328 #B7E228
monochromatic
#112E7F #1842B4 #285AE2 #5E83E9 #94ADF1

Accessibility & contrast

On white

5.75
#285AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#285AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285AE2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285AE2#FFFFFF#000000##FFFFFF
##285AE21.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE6
Deuteranopia (green-blind)
#005EDF
Tritanopia (blue-blind)
#007D95
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #285ae2;
/* rgb */ color: rgb(40, 90, 226);
/* oklch */ color: oklch(52.2% 0.214 264.5);
Tailwind
colors: {
  custom: {
    50: '#8288ec',
    500: '#285ae2',
    950: '#000000',
  },
}
SCSS
$custom: #285ae2;
$custom-light: #8288ec;
$custom-dark: #000000;
JSON
{
  "hex": "#285ae2",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 223.871,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52232,
    "c": 0.21368,
    "h": 264.5
  },
  "luminance": 0.13254
}

Semantic roles & 50–950 ramp

primary
#285AE2
secondary
#DCC68A
accent
#C035F3
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0D0B16
muted
#7D7C84

Preview Lab

Preview with #285AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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