#285FB3#285FB3

#285FB3 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.6% C 0.146 H 258.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#285FB3
RGBrgb(40, 95, 179)
HSLhsl(216, 63%, 43%)
HSVhsv(216, 78%, 70%)
CMYKcmyk(77.7%, 46.9%, 0%, 29.8%)
CIE-LABlab(41.04, 12.42, -49.79)
CIE-LCHlch(41.04, 51.32, 284.01°)
OKLaboklab(49.55% -0.028 -0.1429)
OKLCHoklch(49.55% 0.146 258.9)
XYZxyz(13.1010, 11.8887, 44.2434)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285FB3 #B37C28
analogous
#28A4B3 #285FB3 #3728B3
triadic
#285FB3 #B3285F #5FB328
tetradic
#285FB3 #B328A4 #B37C28 #28B337
square
#285FB3 #B328A4 #B37C28 #28B337
split-complementary
#285FB3 #B33728 #A4B328
monochromatic
#122A4F #1D4481 #285FB3 #437DD5 #75A0E0

Accessibility & contrast

On white

6.22
#285FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#285FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285FB3
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285FB3#FFFFFF#000000##FFFFFF
##285FB31.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3268B6
Deuteranopia (green-blind)
#0C5BB1
Tritanopia (blue-blind)
#007380
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #285fb3;
/* rgb */ color: rgb(40, 95, 179);
/* oklch */ color: oklch(49.6% 0.146 258.9);
Tailwind
colors: {
  custom: {
    50: '#778bca',
    500: '#285fb3',
    950: '#000000',
  },
}
SCSS
$custom: #285fb3;
$custom-light: #778bca;
$custom-dark: #000000;
JSON
{
  "hex": "#285fb3",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 179
  },
  "hsl": {
    "h": 216.259,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49554,
    "c": 0.14566,
    "h": 258.9
  },
  "luminance": 0.1189
}

Semantic roles & 50–950 ramp

primary
#285FB3
secondary
#C8A56F
accent
#A541E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #285FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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