#285ABC#285ABC

#285ABC is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.1% C 0.164 H 262.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#285ABC
RGBrgb(40, 90, 188)
HSLhsl(220, 65%, 45%)
HSVhsv(220, 79%, 74%)
CMYKcmyk(78.7%, 52.1%, 0%, 26.3%)
CIE-LABlab(40.23, 19.16, -56.36)
CIE-LCHlch(40.23, 59.53, 288.78°)
OKLaboklab(49.13% -0.0228 -0.1623)
OKLCHoklch(49.13% 0.164 262)
XYZxyz(13.6051, 11.3927, 49.0492)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285ABC #BC8A28
analogous
#28A4BC #285ABC #4028BC
triadic
#285ABC #BC285A #5ABC28
tetradic
#285ABC #BC28A4 #BC8A28 #28BC40
square
#285ABC #BC28A4 #BC8A28 #28BC40
split-complementary
#285ABC #BC4028 #A4BC28
monochromatic
#132A57 #1D428A #285ABC #4979D8 #7B9EE3

Accessibility & contrast

On white

6.40
#285ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#285ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285ABC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285ABC#FFFFFF#000000##FFFFFF
##285ABC1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1666BF
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #285abc;
/* rgb */ color: rgb(40, 90, 188);
/* oklch */ color: oklch(49.1% 0.164 262.0);
Tailwind
colors: {
  custom: {
    50: '#7988d1',
    500: '#285abc',
    950: '#000000',
  },
}
SCSS
$custom: #285abc;
$custom-light: #7988d1;
$custom-dark: #000000;
JSON
{
  "hex": "#285abc",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 219.73,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49132,
    "c": 0.16395,
    "h": 262
  },
  "luminance": 0.11394
}

Semantic roles & 50–950 ramp

primary
#285ABC
secondary
#CBAE75
accent
#AF40E8
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #285ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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