#285FB1#285FB1

#285FB1 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.4% C 0.143 H 258.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#285FB1
RGBrgb(40, 95, 177)
HSLhsl(216, 63%, 43%)
HSVhsv(216, 77%, 69%)
CMYKcmyk(77.4%, 46.3%, 0%, 30.6%)
CIE-LABlab(40.91, 11.65, -48.83)
CIE-LCHlch(40.91, 50.20, 283.42°)
OKLaboklab(49.41% -0.0284 -0.1401)
OKLCHoklch(49.41% 0.143 258.5)
XYZxyz(12.9002, 11.8084, 43.1858)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285FB1 #B17A28
analogous
#28A4B1 #285FB1 #3528B1
triadic
#285FB1 #B1285F #5FB128
tetradic
#285FB1 #B128A4 #B17A28 #28B135
square
#285FB1 #B128A4 #B17A28 #28B135
split-complementary
#285FB1 #B13528 #A4B128
monochromatic
#11294D #1D447F #285FB1 #427DD4 #749FE0

Accessibility & contrast

On white

6.25
#285FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#285FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285FB1
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285FB1#FFFFFF#000000##FFFFFF
##285FB11.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3367B4
Deuteranopia (green-blind)
#125BAF
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #285fb1;
/* rgb */ color: rgb(40, 95, 177);
/* oklch */ color: oklch(49.4% 0.143 258.5);
Tailwind
colors: {
  custom: {
    50: '#768bc9',
    500: '#285fb1',
    950: '#000000',
  },
}
SCSS
$custom: #285fb1;
$custom-light: #768bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#285fb1",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 177
  },
  "hsl": {
    "h": 215.912,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49413,
    "c": 0.14293,
    "h": 258.5
  },
  "luminance": 0.1181
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #285FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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