#285BA3#285BA3

#285BA3 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.5% C 0.128 H 257.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#285BA3
RGBrgb(40, 91, 163)
HSLhsl(215, 61%, 40%)
HSVhsv(215, 75%, 64%)
CMYKcmyk(75.5%, 44.2%, 0%, 36.1%)
CIE-LABlab(38.86, 8.85, -43.83)
CIE-LCHlch(38.86, 44.72, 281.42°)
OKLaboklab(47.54% -0.0276 -0.1255)
OKLCHoklch(47.54% 0.128 257.6)
XYZxyz(11.2246, 10.5764, 36.0931)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285BA3 #A37028
analogous
#2899A3 #285BA3 #3328A3
triadic
#285BA3 #A3285B #5BA328
tetradic
#285BA3 #A32899 #A37028 #28A333
square
#285BA3 #A32899 #A37028 #28A333
split-complementary
#285BA3 #A33328 #99A328
monochromatic
#102441 #1C4072 #285BA3 #3A77CF #6B99DB

Accessibility & contrast

On white

6.74
#285BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#285BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285BA3
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285BA3#FFFFFF#000000##FFFFFF
##285BA31.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3762A6
Deuteranopia (green-blind)
#2056A2
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #285ba3;
/* rgb */ color: rgb(40, 91, 163);
/* oklch */ color: oklch(47.5% 0.128 257.6);
Tailwind
colors: {
  custom: {
    50: '#7388bf',
    500: '#285ba3',
    950: '#000000',
  },
}
SCSS
$custom: #285ba3;
$custom-light: #7388bf;
$custom-dark: #000000;
JSON
{
  "hex": "#285ba3",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 163
  },
  "hsl": {
    "h": 215.122,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47543,
    "c": 0.12846,
    "h": 257.6
  },
  "luminance": 0.10578
}

Semantic roles & 50–950 ramp

primary
#285BA3
secondary
#C19B66
accent
#A244E4
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #285BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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