#285FB4#285FB4

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

Color values

HEX#285FB4
RGBrgb(40, 95, 180)
HSLhsl(216, 64%, 43%)
HSVhsv(216, 78%, 71%)
CMYKcmyk(77.8%, 47.2%, 0%, 29.4%)
CIE-LABlab(41.10, 12.81, -50.28)
CIE-LCHlch(41.10, 51.88, 284.29°)
OKLaboklab(49.62% -0.0279 -0.1443)
OKLCHoklch(49.62% 0.147 259.1)
XYZxyz(13.2025, 11.9293, 44.7779)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285FB4 #B47D28
analogous
#28A5B4 #285FB4 #3728B4
triadic
#285FB4 #B4285F #5FB428
tetradic
#285FB4 #B428A5 #B47D28 #28B437
square
#285FB4 #B428A5 #B47D28 #28B437
split-complementary
#285FB4 #B43728 #A5B428
monochromatic
#122A50 #1D4582 #285FB4 #447DD5 #76A0E1

Accessibility & contrast

On white

6.20
#285FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#285FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285FB4
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285FB4#FFFFFF#000000##FFFFFF
##285FB41.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3168B7
Deuteranopia (green-blind)
#075BB2
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #285fb4;
/* rgb */ color: rgb(40, 95, 180);
/* oklch */ color: oklch(49.6% 0.147 259.1);
Tailwind
colors: {
  custom: {
    50: '#778bcb',
    500: '#285fb4',
    950: '#000000',
  },
}
SCSS
$custom: #285fb4;
$custom-light: #778bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#285fb4",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 180
  },
  "hsl": {
    "h": 216.429,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49624,
    "c": 0.14701,
    "h": 259.1
  },
  "luminance": 0.11931
}

Semantic roles & 50–950 ramp

primary
#285FB4
secondary
#C8A570
accent
#A641E7
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #285FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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