#285FB6#285FB6

#285FB6 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.8% C 0.150 H 259.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#285FB6
RGBrgb(40, 95, 182)
HSLhsl(217, 64%, 44%)
HSVhsv(217, 78%, 71%)
CMYKcmyk(78%, 47.8%, 0%, 28.6%)
CIE-LABlab(41.23, 13.58, -51.24)
CIE-LCHlch(41.23, 53.01, 284.85°)
OKLaboklab(49.77% -0.0275 -0.1472)
OKLCHoklch(49.77% 0.15 259.4)
XYZxyz(13.4077, 12.0114, 45.8587)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285FB6 #B67F28
analogous
#28A6B6 #285FB6 #3828B6
triadic
#285FB6 #B6285F #5FB628
tetradic
#285FB6 #B628A6 #B67F28 #28B638
square
#285FB6 #B628A6 #B67F28 #28B638
split-complementary
#285FB6 #B63828 #A6B628
monochromatic
#122B52 #1D4584 #285FB6 #457DD6 #77A0E1

Accessibility & contrast

On white

6.17
#285FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#285FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285FB6
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285FB6#FFFFFF#000000##FFFFFF
##285FB61.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E68B9
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #285fb6;
/* rgb */ color: rgb(40, 95, 182);
/* oklch */ color: oklch(49.8% 0.150 259.4);
Tailwind
colors: {
  custom: {
    50: '#778bcc',
    500: '#285fb6',
    950: '#000000',
  },
}
SCSS
$custom: #285fb6;
$custom-light: #778bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#285fb6",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 182
  },
  "hsl": {
    "h": 216.761,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49767,
    "c": 0.14973,
    "h": 259.4
  },
  "luminance": 0.12013
}

Semantic roles & 50–950 ramp

primary
#285FB6
secondary
#C9A771
accent
#A741E7
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #285FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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