#285DA8#285DA8

#285DA8 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.3% C 0.133 H 257.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#285DA8
RGBrgb(40, 93, 168)
HSLhsl(215, 62%, 41%)
HSVhsv(215, 76%, 66%)
CMYKcmyk(76.2%, 44.6%, 0%, 34.1%)
CIE-LABlab(39.76, 9.48, -45.36)
CIE-LCHlch(39.76, 46.34, 281.81°)
OKLaboklab(48.34% -0.0284 -0.1299)
OKLCHoklch(48.34% 0.133 257.7)
XYZxyz(11.8547, 11.1056, 38.5570)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285DA8 #A87328
analogous
#289DA8 #285DA8 #3328A8
triadic
#285DA8 #A8285D #5DA828
tetradic
#285DA8 #A8289D #A87328 #28A833
square
#285DA8 #A8289D #A87328 #28A833
split-complementary
#285DA8 #A83328 #9DA828
monochromatic
#102645 #1C4277 #285DA8 #3D7AD1 #6E9CDC

Accessibility & contrast

On white

6.52
#285DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#285DA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285DA8
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285DA8#FFFFFF#000000##FFFFFF
##285DA81.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3764AB
Deuteranopia (green-blind)
#1E58A6
Tritanopia (blue-blind)
#006F7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #285da8;
/* rgb */ color: rgb(40, 93, 168);
/* oklch */ color: oklch(48.3% 0.133 257.7);
Tailwind
colors: {
  custom: {
    50: '#748ac2',
    500: '#285da8',
    950: '#000000',
  },
}
SCSS
$custom: #285da8;
$custom-light: #748ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#285da8",
  "rgb": {
    "r": 40,
    "g": 93,
    "b": 168
  },
  "hsl": {
    "h": 215.156,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4834,
    "c": 0.13299,
    "h": 257.7
  },
  "luminance": 0.11107
}

Semantic roles & 50–950 ramp

primary
#285DA8
secondary
#C39E69
accent
#A243E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #285DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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