#285BAA#285BAA

#285BAA is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.0% C 0.138 H 259.0°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#285BAA
RGBrgb(40, 91, 170)
HSLhsl(216, 62%, 41%)
HSVhsv(216, 76%, 67%)
CMYKcmyk(76.5%, 46.5%, 0%, 33.3%)
CIE-LABlab(39.30, 11.56, -47.28)
CIE-LCHlch(39.30, 48.67, 283.74°)
OKLaboklab(48.03% -0.0262 -0.1356)
OKLCHoklch(48.03% 0.138 259)
XYZxyz(11.8692, 10.8342, 39.4881)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285BAA #AA7728
analogous
#289CAA #285BAA #3628AA
triadic
#285BAA #AA285B #5BAA28
tetradic
#285BAA #AA289C #AA7728 #28AA36
square
#285BAA #AA289C #AA7728 #28AA36
split-complementary
#285BAA #AA3628 #9CAA28
monochromatic
#112647 #1C4078 #285BAA #3E78D2 #6F9ADD

Accessibility & contrast

On white

6.63
#285BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #285BAA
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285BAA#FFFFFF#000000##FFFFFF
##285BAA1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3163AD
Deuteranopia (green-blind)
#1257A8
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #285baa;
/* rgb */ color: rgb(40, 91, 170);
/* oklch */ color: oklch(48.0% 0.138 259.0);
Tailwind
colors: {
  custom: {
    50: '#7588c4',
    500: '#285baa',
    950: '#000000',
  },
}
SCSS
$custom: #285baa;
$custom-light: #7588c4;
$custom-dark: #000000;
JSON
{
  "hex": "#285baa",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 170
  },
  "hsl": {
    "h": 216.462,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48027,
    "c": 0.13813,
    "h": 259
  },
  "luminance": 0.10836
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #285BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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