#285EB6#285EB6

#285EB6 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.5% C 0.151 H 259.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#285EB6
RGBrgb(40, 94, 182)
HSLhsl(217, 64%, 44%)
HSVhsv(217, 78%, 71%)
CMYKcmyk(78%, 48.4%, 0%, 28.6%)
CIE-LABlab(40.95, 14.23, -51.70)
CIE-LCHlch(40.95, 53.62, 285.39°)
OKLaboklab(49.55% -0.0267 -0.1485)
OKLCHoklch(49.55% 0.151 259.8)
XYZxyz(13.3182, 11.8324, 45.8289)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285EB6 #B68028
analogous
#28A5B6 #285EB6 #3928B6
triadic
#285EB6 #B6285E #5EB628
tetradic
#285EB6 #B628A5 #B68028 #28B639
square
#285EB6 #B628A5 #B68028 #28B639
split-complementary
#285EB6 #B63928 #A5B628
monochromatic
#122A52 #1D4484 #285EB6 #457CD6 #77A0E1

Accessibility & contrast

On white

6.24
#285EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#285EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285EB6
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285EB6#FFFFFF#000000##FFFFFF
##285EB61.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C67B9
Deuteranopia (green-blind)
#005AB4
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #285eb6;
/* rgb */ color: rgb(40, 94, 182);
/* oklch */ color: oklch(49.5% 0.151 259.8);
Tailwind
colors: {
  custom: {
    50: '#778bcc',
    500: '#285eb6',
    950: '#000000',
  },
}
SCSS
$custom: #285eb6;
$custom-light: #778bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#285eb6",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 182
  },
  "hsl": {
    "h": 217.183,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49547,
    "c": 0.15094,
    "h": 259.8
  },
  "luminance": 0.11834
}

Semantic roles & 50–950 ramp

primary
#285EB6
secondary
#C9A771
accent
#A841E7
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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