#285BB7#285BB7

#285BB7 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.0% C 0.156 H 261.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#285BB7
RGBrgb(40, 91, 183)
HSLhsl(219, 64%, 44%)
HSVhsv(219, 78%, 72%)
CMYKcmyk(78.1%, 50.3%, 0%, 28.2%)
CIE-LABlab(40.16, 16.58, -53.55)
CIE-LCHlch(40.16, 56.05, 287.20°)
OKLaboklab(48.97% -0.0242 -0.154)
OKLCHoklch(48.97% 0.156 261.1)
XYZxyz(13.1603, 11.3507, 46.2879)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285BB7 #B78428
analogous
#28A2B7 #285BB7 #3C28B7
triadic
#285BB7 #B7285B #5BB728
tetradic
#285BB7 #B728A2 #B78428 #28B73C
square
#285BB7 #B728A2 #B78428 #28B73C
split-complementary
#285BB7 #B73C28 #A2B728
monochromatic
#122953 #1D4285 #285BB7 #4679D6 #789EE1

Accessibility & contrast

On white

6.42
#285BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#285BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285BB7
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285BB7#FFFFFF#000000##FFFFFF
##285BB71.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2266BA
Deuteranopia (green-blind)
#0059B5
Tritanopia (blue-blind)
#007180
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #285bb7;
/* rgb */ color: rgb(40, 91, 183);
/* oklch */ color: oklch(49.0% 0.156 261.1);
Tailwind
colors: {
  custom: {
    50: '#7888cd',
    500: '#285bb7',
    950: '#000000',
  },
}
SCSS
$custom: #285bb7;
$custom-light: #7888cd;
$custom-dark: #000000;
JSON
{
  "hex": "#285bb7",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 183
  },
  "hsl": {
    "h": 218.601,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48968,
    "c": 0.15594,
    "h": 261.1
  },
  "luminance": 0.11352
}

Semantic roles & 50–950 ramp

primary
#285BB7
secondary
#C9AA72
accent
#AC41E7
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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