#285ABA#285ABA

#285ABA is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.0% C 0.161 H 261.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#285ABA
RGBrgb(40, 90, 186)
HSLhsl(219, 65%, 44%)
HSVhsv(219, 78%, 73%)
CMYKcmyk(78.5%, 51.6%, 0%, 27.1%)
CIE-LABlab(40.09, 18.39, -55.42)
CIE-LCHlch(40.09, 58.39, 288.36°)
OKLaboklab(48.98% -0.0231 -0.1596)
OKLCHoklch(48.98% 0.161 261.8)
XYZxyz(13.3910, 11.3071, 47.9216)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285ABA #BA8828
analogous
#28A3BA #285ABA #3F28BA
triadic
#285ABA #BA285A #5ABA28
tetradic
#285ABA #BA28A3 #BA8828 #28BA3F
square
#285ABA #BA28A3 #BA8828 #28BA3F
split-complementary
#285ABA #BA3F28 #A3BA28
monochromatic
#122955 #1D4288 #285ABA #4879D8 #7A9EE2

Accessibility & contrast

On white

6.44
#285ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#285ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285ABA
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285ABA#FFFFFF#000000##FFFFFF
##285ABA1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A66BD
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #285aba;
/* rgb */ color: rgb(40, 90, 186);
/* oklch */ color: oklch(49.0% 0.161 261.8);
Tailwind
colors: {
  custom: {
    50: '#7888cf',
    500: '#285aba',
    950: '#000000',
  },
}
SCSS
$custom: #285aba;
$custom-light: #7888cf;
$custom-dark: #000000;
JSON
{
  "hex": "#285aba",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 219.452,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4898,
    "c": 0.16124,
    "h": 261.8
  },
  "luminance": 0.11309
}

Semantic roles & 50–950 ramp

primary
#285ABA
secondary
#CAAD73
accent
#AE40E8
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #285ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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