#285BBA#285BBA

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

Color values

HEX#285BBA
RGBrgb(40, 91, 186)
HSLhsl(219, 65%, 44%)
HSVhsv(219, 78%, 73%)
CMYKcmyk(78.5%, 51.1%, 0%, 27.1%)
CIE-LABlab(40.37, 17.74, -54.97)
CIE-LCHlch(40.37, 57.76, 287.88°)
OKLaboklab(49.19% -0.0238 -0.1582)
OKLCHoklch(49.19% 0.16 261.4)
XYZxyz(13.4759, 11.4769, 47.9499)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285BBA #BA8728
analogous
#28A4BA #285BBA #3E28BA
triadic
#285BBA #BA285B #5BBA28
tetradic
#285BBA #BA28A4 #BA8728 #28BA3E
square
#285BBA #BA28A4 #BA8728 #28BA3E
split-complementary
#285BBA #BA3E28 #A4BA28
monochromatic
#122A55 #1D4288 #285BBA #487AD8 #7A9EE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##285BBA#FFFFFF#000000##FFFFFF
##285BBA1.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)
#1E66BD
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #285bba;
/* rgb */ color: rgb(40, 91, 186);
/* oklch */ color: oklch(49.2% 0.160 261.4);
Tailwind
colors: {
  custom: {
    50: '#7888cf',
    500: '#285bba',
    950: '#000000',
  },
}
SCSS
$custom: #285bba;
$custom-light: #7888cf;
$custom-dark: #000000;
JSON
{
  "hex": "#285bba",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 186
  },
  "hsl": {
    "h": 219.041,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49193,
    "c": 0.16002,
    "h": 261.4
  },
  "luminance": 0.11478
}

Semantic roles & 50–950 ramp

primary
#285BBA
secondary
#CAAC73
accent
#AD40E8
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #285BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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