#285CA8#285CA8

#285CA8 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.1% C 0.134 H 258.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#285CA8
RGBrgb(40, 92, 168)
HSLhsl(216, 62%, 41%)
HSVhsv(216, 76%, 66%)
CMYKcmyk(76.2%, 45.2%, 0%, 34.1%)
CIE-LABlab(39.46, 10.13, -45.83)
CIE-LCHlch(39.46, 46.94, 282.47°)
OKLaboklab(48.11% -0.0275 -0.1313)
OKLCHoklch(48.11% 0.134 258.2)
XYZxyz(11.7675, 10.9312, 38.5279)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285CA8 #A87428
analogous
#289CA8 #285CA8 #3428A8
triadic
#285CA8 #A8285C #5CA828
tetradic
#285CA8 #A8289C #A87428 #28A834
square
#285CA8 #A8289C #A87428 #28A834
split-complementary
#285CA8 #A83428 #9CA828
monochromatic
#102645 #1C4177 #285CA8 #3D79D1 #6E9BDC

Accessibility & contrast

On white

6.59
#285CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#285CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285CA8
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285CA8#FFFFFF#000000##FFFFFF
##285CA81.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3563AB
Deuteranopia (green-blind)
#1A58A6
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #285ca8;
/* rgb */ color: rgb(40, 92, 168);
/* oklch */ color: oklch(48.1% 0.134 258.2);
Tailwind
colors: {
  custom: {
    50: '#7489c2',
    500: '#285ca8',
    950: '#000000',
  },
}
SCSS
$custom: #285ca8;
$custom-light: #7489c2;
$custom-dark: #000000;
JSON
{
  "hex": "#285ca8",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 168
  },
  "hsl": {
    "h": 215.625,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48113,
    "c": 0.13417,
    "h": 258.2
  },
  "luminance": 0.10933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #285CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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