#285BD4#285BD4

#285BD4 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.195 H 263.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#285BD4
RGBrgb(40, 91, 212)
HSLhsl(222, 68%, 49%)
HSVhsv(222, 81%, 83%)
CMYKcmyk(81.1%, 57.1%, 0%, 16.9%)
CIE-LABlab(42.28, 27.67, -66.92)
CIE-LCHlch(42.28, 72.41, 292.47°)
OKLaboklab(51.24% -0.0215 -0.1934)
OKLCHoklch(51.24% 0.195 263.6)
XYZxyz(16.4956, 12.6848, 63.8536)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285BD4 #D4A128
analogous
#28B1D4 #285BD4 #4B28D4
triadic
#285BD4 #D4285B #5BD428
tetradic
#285BD4 #D428B1 #D4A128 #28D44B
square
#285BD4 #D428B1 #D4A128 #28D44B
split-complementary
#285BD4 #D44B28 #B1D428
monochromatic
#152F6D #1E45A1 #285BD4 #5981E0 #8DA8E9

Accessibility & contrast

On white

5.94
#285BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#285BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285BD4
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285BD4#FFFFFF#000000##FFFFFF
##285BD41.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#005CD2
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #285bd4;
/* rgb */ color: rgb(40, 91, 212);
/* oklch */ color: oklch(51.2% 0.195 263.6);
Tailwind
colors: {
  custom: {
    50: '#7f88e2',
    500: '#285bd4',
    950: '#000000',
  },
}
SCSS
$custom: #285bd4;
$custom-light: #7f88e2;
$custom-dark: #000000;
JSON
{
  "hex": "#285bd4",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 212
  },
  "hsl": {
    "h": 222.209,
    "s": 68.254,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51244,
    "c": 0.19455,
    "h": 263.6
  },
  "luminance": 0.12687
}

Semantic roles & 50–950 ramp

primary
#285BD4
secondary
#D4BC84
accent
#B73DEB
background
#F8F8FE
surface
#F0EFFC
border
#CBCAD5
text
#0C0B15
muted
#7D7C84

Preview Lab

Preview with #285BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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