#285DB4#285DB4

#285DB4 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.2% C 0.149 H 259.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#285DB4
RGBrgb(40, 93, 180)
HSLhsl(217, 64%, 43%)
HSVhsv(217, 78%, 71%)
CMYKcmyk(77.8%, 48.3%, 0%, 29.4%)
CIE-LABlab(40.53, 14.11, -51.20)
CIE-LCHlch(40.53, 53.11, 285.41°)
OKLaboklab(49.18% -0.0262 -0.1471)
OKLCHoklch(49.18% 0.149 259.9)
XYZxyz(13.0246, 11.5736, 44.7186)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285DB4 #B47F28
analogous
#28A3B4 #285DB4 #3928B4
triadic
#285DB4 #B4285D #5DB428
tetradic
#285DB4 #B428A3 #B47F28 #28B439
square
#285DB4 #B428A3 #B47F28 #28B439
split-complementary
#285DB4 #B43928 #A3B428
monochromatic
#122950 #1D4382 #285DB4 #447BD5 #769EE1

Accessibility & contrast

On white

6.33
#285DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#285DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285DB4
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285DB4#FFFFFF#000000##FFFFFF
##285DB41.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C66B7
Deuteranopia (green-blind)
#005AB2
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #285db4;
/* rgb */ color: rgb(40, 93, 180);
/* oklch */ color: oklch(49.2% 0.149 259.9);
Tailwind
colors: {
  custom: {
    50: '#778acb',
    500: '#285db4',
    950: '#000000',
  },
}
SCSS
$custom: #285db4;
$custom-light: #778acb;
$custom-dark: #000000;
JSON
{
  "hex": "#285db4",
  "rgb": {
    "r": 40,
    "g": 93,
    "b": 180
  },
  "hsl": {
    "h": 217.286,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49184,
    "c": 0.14942,
    "h": 259.9
  },
  "luminance": 0.11575
}

Semantic roles & 50–950 ramp

primary
#285DB4
secondary
#C8A770
accent
#A841E7
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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