#285EE2#285EE2

#285EE2 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.0% C 0.209 H 263.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#285EE2
RGBrgb(40, 94, 226)
HSLhsl(223, 76%, 52%)
HSVhsv(223, 82%, 89%)
CMYKcmyk(82.3%, 58.4%, 0%, 11.4%)
CIE-LABlab(44.15, 31.00, -71.85)
CIE-LCHlch(44.15, 78.25, 293.34°)
OKLaboklab(52.99% -0.0226 -0.2078)
OKLCHoklch(52.99% 0.209 263.8)
XYZxyz(18.6003, 13.9452, 73.6481)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285EE2 #E2AC28
analogous
#28BBE2 #285EE2 #4F28E2
triadic
#285EE2 #E2285E #5EE228
tetradic
#285EE2 #E228BB #E2AC28 #28E24F
square
#285EE2 #E228BB #E2AC28 #28E24F
split-complementary
#285EE2 #E24F28 #BBE228
monochromatic
#11317F #1846B4 #285EE2 #5E86E9 #94AFF1

Accessibility & contrast

On white

5.54
#285EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#285EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285EE2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285EE2#FFFFFF#000000##FFFFFF
##285EE21.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#0060DF
Tritanopia (blue-blind)
#008097
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #285ee2;
/* rgb */ color: rgb(40, 94, 226);
/* oklch */ color: oklch(53.0% 0.209 263.8);
Tailwind
colors: {
  custom: {
    50: '#828bec',
    500: '#285ee2',
    950: '#000000',
  },
}
SCSS
$custom: #285ee2;
$custom-light: #828bec;
$custom-dark: #000000;
JSON
{
  "hex": "#285ee2",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 226
  },
  "hsl": {
    "h": 222.581,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52989,
    "c": 0.20902,
    "h": 263.8
  },
  "luminance": 0.13948
}

Semantic roles & 50–950 ramp

primary
#285EE2
secondary
#DCC48A
accent
#BC35F3
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0D0B16
muted
#7D7C84

Preview Lab

Preview with #285EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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