#285AA5#285AA5

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

Color values

HEX#285AA5
RGBrgb(40, 90, 165)
HSLhsl(216, 61%, 40%)
HSVhsv(216, 76%, 65%)
CMYKcmyk(75.8%, 45.5%, 0%, 35.3%)
CIE-LABlab(38.69, 10.28, -45.30)
CIE-LCHlch(38.69, 46.45, 282.79°)
OKLaboklab(47.45% -0.0263 -0.1298)
OKLCHoklch(47.45% 0.132 258.5)
XYZxyz(11.3203, 10.4788, 37.0160)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285AA5 #A57328
analogous
#2899A5 #285AA5 #3428A5
triadic
#285AA5 #A5285A #5AA528
tetradic
#285AA5 #A52899 #A57328 #28A534
square
#285AA5 #A52899 #A57328 #28A534
split-complementary
#285AA5 #A53428 #99A528
monochromatic
#102442 #1C3F74 #285AA5 #3B76CF #6C99DB

Accessibility & contrast

On white

6.78
#285AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #285AA5
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285AA5#FFFFFF#000000##FFFFFF
##285AA51.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3461A8
Deuteranopia (green-blind)
#1956A3
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #285aa5;
/* rgb */ color: rgb(40, 90, 165);
/* oklch */ color: oklch(47.5% 0.132 258.5);
Tailwind
colors: {
  custom: {
    50: '#7488c0',
    500: '#285aa5',
    950: '#000000',
  },
}
SCSS
$custom: #285aa5;
$custom-light: #7488c0;
$custom-dark: #000000;
JSON
{
  "hex": "#285aa5",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 165
  },
  "hsl": {
    "h": 216,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47453,
    "c": 0.13243,
    "h": 258.5
  },
  "luminance": 0.1048
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #285AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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