#285FB7#285FB7

#285FB7 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.8% C 0.151 H 259.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#285FB7
RGBrgb(40, 95, 183)
HSLhsl(217, 64%, 44%)
HSVhsv(217, 78%, 72%)
CMYKcmyk(78.1%, 48.1%, 0%, 28.2%)
CIE-LABlab(41.30, 13.97, -51.72)
CIE-LCHlch(41.30, 53.57, 285.11°)
OKLaboklab(49.84% -0.0274 -0.1486)
OKLCHoklch(49.84% 0.151 259.6)
XYZxyz(13.5114, 12.0529, 46.4049)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285FB7 #B78028
analogous
#28A6B7 #285FB7 #3828B7
triadic
#285FB7 #B7285F #5FB728
tetradic
#285FB7 #B728A6 #B78028 #28B738
square
#285FB7 #B728A6 #B78028 #28B738
split-complementary
#285FB7 #B73828 #A6B728
monochromatic
#122B53 #1D4585 #285FB7 #467DD6 #78A1E1

Accessibility & contrast

On white

6.16
#285FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#285FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285FB7
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285FB7#FFFFFF#000000##FFFFFF
##285FB71.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #285fb7;
/* rgb */ color: rgb(40, 95, 183);
/* oklch */ color: oklch(49.8% 0.151 259.6);
Tailwind
colors: {
  custom: {
    50: '#788bcd',
    500: '#285fb7',
    950: '#000000',
  },
}
SCSS
$custom: #285fb7;
$custom-light: #788bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#285fb7",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 183
  },
  "hsl": {
    "h": 216.923,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49838,
    "c": 0.15109,
    "h": 259.6
  },
  "luminance": 0.12054
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #285FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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