#285CB6#285CB6

#285CB6 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.1% C 0.153 H 260.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#285CB6
RGBrgb(40, 92, 182)
HSLhsl(218, 64%, 44%)
HSVhsv(218, 78%, 71%)
CMYKcmyk(78%, 49.5%, 0%, 28.6%)
CIE-LABlab(40.38, 15.54, -52.61)
CIE-LCHlch(40.38, 54.86, 286.45°)
OKLaboklab(49.11% -0.0251 -0.1513)
OKLCHoklch(49.11% 0.153 260.6)
XYZxyz(13.1427, 11.4813, 45.7703)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285CB6 #B68228
analogous
#28A3B6 #285CB6 #3B28B6
triadic
#285CB6 #B6285C #5CB628
tetradic
#285CB6 #B628A3 #B68228 #28B63B
square
#285CB6 #B628A3 #B68228 #28B63B
split-complementary
#285CB6 #B63B28 #A3B628
monochromatic
#122952 #1D4384 #285CB6 #457AD6 #779EE1

Accessibility & contrast

On white

6.37
#285CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#285CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285CB6
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285CB6#FFFFFF#000000##FFFFFF
##285CB61.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2766B9
Deuteranopia (green-blind)
#0059B4
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #285cb6;
/* rgb */ color: rgb(40, 92, 182);
/* oklch */ color: oklch(49.1% 0.153 260.6);
Tailwind
colors: {
  custom: {
    50: '#7789cc',
    500: '#285cb6',
    950: '#000000',
  },
}
SCSS
$custom: #285cb6;
$custom-light: #7789cc;
$custom-dark: #000000;
JSON
{
  "hex": "#285cb6",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 182
  },
  "hsl": {
    "h": 218.028,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49111,
    "c": 0.15337,
    "h": 260.6
  },
  "luminance": 0.11483
}

Semantic roles & 50–950 ramp

primary
#285CB6
secondary
#C9A971
accent
#AA41E7
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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