#285BBC#285BBC

#285BBC is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.3% C 0.163 H 261.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#285BBC
RGBrgb(40, 91, 188)
HSLhsl(219, 65%, 45%)
HSVhsv(219, 79%, 74%)
CMYKcmyk(78.7%, 51.6%, 0%, 26.3%)
CIE-LABlab(40.51, 18.51, -55.91)
CIE-LCHlch(40.51, 58.89, 288.32°)
OKLaboklab(49.34% -0.0236 -0.161)
OKLCHoklch(49.34% 0.163 261.7)
XYZxyz(13.6900, 11.5625, 49.0775)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285BBC #BC8928
analogous
#28A5BC #285BBC #3F28BC
triadic
#285BBC #BC285B #5BBC28
tetradic
#285BBC #BC28A5 #BC8928 #28BC3F
square
#285BBC #BC28A5 #BC8928 #28BC3F
split-complementary
#285BBC #BC3F28 #A5BC28
monochromatic
#132A57 #1D438A #285BBC #497AD8 #7B9FE3

Accessibility & contrast

On white

6.34
#285BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#285BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285BBC
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285BBC#FFFFFF#000000##FFFFFF
##285BBC1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A67BF
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #285bbc;
/* rgb */ color: rgb(40, 91, 188);
/* oklch */ color: oklch(49.3% 0.163 261.7);
Tailwind
colors: {
  custom: {
    50: '#7988d1',
    500: '#285bbc',
    950: '#000000',
  },
}
SCSS
$custom: #285bbc;
$custom-light: #7988d1;
$custom-dark: #000000;
JSON
{
  "hex": "#285bbc",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 188
  },
  "hsl": {
    "h": 219.324,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49344,
    "c": 0.16273,
    "h": 261.7
  },
  "luminance": 0.11564
}

Semantic roles & 50–950 ramp

primary
#285BBC
secondary
#CBAD75
accent
#AE40E8
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #285BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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