#285BA5#285BA5

#285BA5 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.7% C 0.131 H 258.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#285BA5
RGBrgb(40, 91, 165)
HSLhsl(216, 61%, 40%)
HSVhsv(216, 76%, 65%)
CMYKcmyk(75.8%, 44.8%, 0%, 35.3%)
CIE-LABlab(38.98, 9.63, -44.82)
CIE-LCHlch(38.98, 45.85, 282.12°)
OKLaboklab(47.68% -0.0272 -0.1284)
OKLCHoklch(47.68% 0.131 258)
XYZxyz(11.4052, 10.6486, 37.0443)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285BA5 #A57228
analogous
#289AA5 #285BA5 #3328A5
triadic
#285BA5 #A5285B #5BA528
tetradic
#285BA5 #A5289A #A57228 #28A533
square
#285BA5 #A5289A #A57228 #28A533
split-complementary
#285BA5 #A53328 #9AA528
monochromatic
#102542 #1C4074 #285BA5 #3B77CF #6C99DB

Accessibility & contrast

On white

6.71
#285BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#285BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285BA5
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285BA5#FFFFFF#000000##FFFFFF
##285BA51.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3662A8
Deuteranopia (green-blind)
#1D56A4
Tritanopia (blue-blind)
#006C78
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #285ba5;
/* rgb */ color: rgb(40, 91, 165);
/* oklch */ color: oklch(47.7% 0.131 258.0);
Tailwind
colors: {
  custom: {
    50: '#7488c0',
    500: '#285ba5',
    950: '#000000',
  },
}
SCSS
$custom: #285ba5;
$custom-light: #7488c0;
$custom-dark: #000000;
JSON
{
  "hex": "#285ba5",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 165
  },
  "hsl": {
    "h": 215.52,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4768,
    "c": 0.13123,
    "h": 258
  },
  "luminance": 0.1065
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #285BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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