#285BAB#285BAB

#285BAB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.1% C 0.140 H 259.2°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#285BAB
RGBrgb(40, 91, 171)
HSLhsl(217, 62%, 41%)
HSVhsv(217, 77%, 67%)
CMYKcmyk(76.6%, 46.8%, 0%, 32.9%)
CIE-LABlab(39.36, 11.94, -47.77)
CIE-LCHlch(39.36, 49.24, 284.04°)
OKLaboklab(48.1% -0.0261 -0.137)
OKLCHoklch(48.1% 0.14 259.2)
XYZxyz(11.9642, 10.8722, 39.9882)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285BAB #AB7828
analogous
#289DAB #285BAB #3728AB
triadic
#285BAB #AB285B #5BAB28
tetradic
#285BAB #AB289D #AB7828 #28AB37
square
#285BAB #AB289D #AB7828 #28AB37
split-complementary
#285BAB #AB3728 #9DAB28
monochromatic
#112648 #1C4179 #285BAB #3E78D2 #709BDE

Accessibility & contrast

On white

6.61
#285BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#285BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285BAB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285BAB#FFFFFF#000000##FFFFFF
##285BAB1.006.613.176.61
#FFFFFF6.611.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3063AE
Deuteranopia (green-blind)
#1057A9
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #285bab;
/* rgb */ color: rgb(40, 91, 171);
/* oklch */ color: oklch(48.1% 0.140 259.2);
Tailwind
colors: {
  custom: {
    50: '#7588c4',
    500: '#285bab',
    950: '#000000',
  },
}
SCSS
$custom: #285bab;
$custom-light: #7588c4;
$custom-dark: #000000;
JSON
{
  "hex": "#285bab",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 171
  },
  "hsl": {
    "h": 216.641,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48098,
    "c": 0.13951,
    "h": 259.2
  },
  "luminance": 0.10874
}

Semantic roles & 50–950 ramp

primary
#285BAB
secondary
#C4A16A
accent
#A643E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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