#285FB0#285FB0

#285FB0 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.3% C 0.142 H 258.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#285FB0
RGBrgb(40, 95, 176)
HSLhsl(216, 63%, 42%)
HSVhsv(216, 77%, 69%)
CMYKcmyk(77.3%, 46%, 0%, 31%)
CIE-LABlab(40.85, 11.27, -48.34)
CIE-LCHlch(40.85, 49.64, 283.12°)
OKLaboklab(49.34% -0.0286 -0.1386)
OKLCHoklch(49.34% 0.142 258.4)
XYZxyz(12.8009, 11.7686, 42.6628)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285FB0 #B07928
analogous
#28A3B0 #285FB0 #3528B0
triadic
#285FB0 #B0285F #5FB028
tetradic
#285FB0 #B028A3 #B07928 #28B035
square
#285FB0 #B028A3 #B07928 #28B035
split-complementary
#285FB0 #B03528 #A3B028
monochromatic
#11294C #1D447E #285FB0 #417DD4 #739FDF

Accessibility & contrast

On white

6.26
#285FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#285FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285FB0
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285FB0#FFFFFF#000000##FFFFFF
##285FB01.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3467B3
Deuteranopia (green-blind)
#155BAE
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #285fb0;
/* rgb */ color: rgb(40, 95, 176);
/* oklch */ color: oklch(49.3% 0.142 258.4);
Tailwind
colors: {
  custom: {
    50: '#768bc8',
    500: '#285fb0',
    950: '#000000',
  },
}
SCSS
$custom: #285fb0;
$custom-light: #768bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#285fb0",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 176
  },
  "hsl": {
    "h": 215.735,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49343,
    "c": 0.14156,
    "h": 258.4
  },
  "luminance": 0.1177
}

Semantic roles & 50–950 ramp

primary
#285FB0
secondary
#C6A26D
accent
#A442E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #285FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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