#285CE2#285CE2

#285CE2 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 52.6% C 0.211 H 264.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#285CE2
RGBrgb(40, 92, 226)
HSLhsl(223, 76%, 52%)
HSVhsv(223, 82%, 89%)
CMYKcmyk(82.3%, 59.3%, 0%, 11.4%)
CIE-LABlab(43.65, 32.28, -72.68)
CIE-LCHlch(43.65, 79.53, 293.95°)
OKLaboklab(52.61% -0.0215 -0.2103)
OKLCHoklch(52.61% 0.211 264.2)
XYZxyz(18.4248, 13.5941, 73.5896)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285CE2 #E2AE28
analogous
#28B9E2 #285CE2 #5128E2
triadic
#285CE2 #E2285C #5CE228
tetradic
#285CE2 #E228B9 #E2AE28 #28E251
square
#285CE2 #E228B9 #E2AE28 #28E251
split-complementary
#285CE2 #E25128 #B9E228
monochromatic
#11307F #1844B4 #285CE2 #5E85E9 #94AEF1

Accessibility & contrast

On white

5.65
#285CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#285CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285CE2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285CE2#FFFFFF#000000##FFFFFF
##285CE21.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#005FDF
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #285ce2;
/* rgb */ color: rgb(40, 92, 226);
/* oklch */ color: oklch(52.6% 0.211 264.2);
Tailwind
colors: {
  custom: {
    50: '#8289ec',
    500: '#285ce2',
    950: '#000000',
  },
}
SCSS
$custom: #285ce2;
$custom-light: #8289ec;
$custom-dark: #000000;
JSON
{
  "hex": "#285ce2",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 223.226,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52608,
    "c": 0.21136,
    "h": 264.2
  },
  "luminance": 0.13596
}

Semantic roles & 50–950 ramp

primary
#285CE2
secondary
#DCC58A
accent
#BE35F3
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0D0B16
muted
#7D7C84

Preview Lab

Preview with #285CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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