#285ABB#285ABB

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

Color values

HEX#285ABB
RGBrgb(40, 90, 187)
HSLhsl(220, 65%, 45%)
HSVhsv(220, 79%, 73%)
CMYKcmyk(78.6%, 51.9%, 0%, 26.7%)
CIE-LABlab(40.16, 18.78, -55.89)
CIE-LCHlch(40.16, 58.96, 288.57°)
OKLaboklab(49.06% -0.023 -0.161)
OKLCHoklch(49.06% 0.163 261.9)
XYZxyz(13.4976, 11.3497, 48.4834)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285ABB #BB8928
analogous
#28A4BB #285ABB #4028BB
triadic
#285ABB #BB285A #5ABB28
tetradic
#285ABB #BB28A4 #BB8928 #28BB40
square
#285ABB #BB28A4 #BB8928 #28BB40
split-complementary
#285ABB #BB4028 #A4BB28
monochromatic
#122956 #1D4289 #285ABB #4879D8 #7B9EE3

Accessibility & contrast

On white

6.42
#285ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#285ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285ABB
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285ABB#FFFFFF#000000##FFFFFF
##285ABB1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1866BE
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #285abb;
/* rgb */ color: rgb(40, 90, 187);
/* oklch */ color: oklch(49.1% 0.163 261.9);
Tailwind
colors: {
  custom: {
    50: '#7988d0',
    500: '#285abb',
    950: '#000000',
  },
}
SCSS
$custom: #285abb;
$custom-light: #7988d0;
$custom-dark: #000000;
JSON
{
  "hex": "#285abb",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 187
  },
  "hsl": {
    "h": 219.592,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49056,
    "c": 0.1626,
    "h": 261.9
  },
  "luminance": 0.11351
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #285ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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