#285AA6#285AA6

#285AA6 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.5% C 0.134 H 258.8°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#285AA6
RGBrgb(40, 90, 166)
HSLhsl(216, 61%, 40%)
HSVhsv(216, 76%, 65%)
CMYKcmyk(75.9%, 45.8%, 0%, 34.9%)
CIE-LABlab(38.75, 10.67, -45.79)
CIE-LCHlch(38.75, 47.01, 283.11°)
OKLaboklab(47.52% -0.0261 -0.1312)
OKLCHoklch(47.52% 0.134 258.8)
XYZxyz(11.4117, 10.5153, 37.4972)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285AA6 #A67428
analogous
#2899A6 #285AA6 #3528A6
triadic
#285AA6 #A6285A #5AA628
tetradic
#285AA6 #A62899 #A67428 #28A635
square
#285AA6 #A62899 #A67428 #28A635
split-complementary
#285AA6 #A63528 #99A628
monochromatic
#102543 #1C3F75 #285AA6 #3B76D0 #6D99DC

Accessibility & contrast

On white

6.77
#285AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#285AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285AA6
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285AA6#FFFFFF#000000##FFFFFF
##285AA61.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3361A9
Deuteranopia (green-blind)
#1856A4
Tritanopia (blue-blind)
#006C78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #285aa6;
/* rgb */ color: rgb(40, 90, 166);
/* oklch */ color: oklch(47.5% 0.134 258.8);
Tailwind
colors: {
  custom: {
    50: '#7488c1',
    500: '#285aa6',
    950: '#000000',
  },
}
SCSS
$custom: #285aa6;
$custom-light: #7488c1;
$custom-dark: #000000;
JSON
{
  "hex": "#285aa6",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 166
  },
  "hsl": {
    "h": 216.19,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47522,
    "c": 0.13381,
    "h": 258.8
  },
  "luminance": 0.10517
}

Semantic roles & 50–950 ramp

primary
#285AA6
secondary
#C29E67
accent
#A444E4
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #285AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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