#285BE2#285BE2

#285BE2 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 52.4% C 0.213 H 264.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#285BE2
RGBrgb(40, 91, 226)
HSLhsl(224, 76%, 52%)
HSVhsv(224, 82%, 89%)
CMYKcmyk(82.3%, 59.7%, 0%, 11.4%)
CIE-LABlab(43.39, 32.92, -73.09)
CIE-LCHlch(43.39, 80.16, 294.25°)
OKLaboklab(52.42% -0.021 -0.2115)
OKLCHoklch(52.42% 0.213 264.3)
XYZxyz(18.3387, 13.4220, 73.5609)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285BE2 #E2AF28
analogous
#28B8E2 #285BE2 #5228E2
triadic
#285BE2 #E2285B #5BE228
tetradic
#285BE2 #E228B8 #E2AF28 #28E252
square
#285BE2 #E228B8 #E2AF28 #28E252
split-complementary
#285BE2 #E25228 #B8E228
monochromatic
#112F7F #1843B4 #285BE2 #5E84E9 #94ADF1

Accessibility & contrast

On white

5.70
#285BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#285BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285BE2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285BE2#FFFFFF#000000##FFFFFF
##285BE21.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #285be2;
/* rgb */ color: rgb(40, 91, 226);
/* oklch */ color: oklch(52.4% 0.213 264.3);
Tailwind
colors: {
  custom: {
    50: '#8288ec',
    500: '#285be2',
    950: '#000000',
  },
}
SCSS
$custom: #285be2;
$custom-light: #8288ec;
$custom-dark: #000000;
JSON
{
  "hex": "#285be2",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 226
  },
  "hsl": {
    "h": 223.548,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52419,
    "c": 0.21252,
    "h": 264.3
  },
  "luminance": 0.13424
}

Semantic roles & 50–950 ramp

primary
#285BE2
secondary
#DCC58A
accent
#BF35F3
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0D0B16
muted
#7D7C84

Preview Lab

Preview with #285BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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