#285AAB#285AAB

#285AAB is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.9% C 0.141 H 259.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#285AAB
RGBrgb(40, 90, 171)
HSLhsl(217, 62%, 41%)
HSVhsv(217, 77%, 67%)
CMYKcmyk(76.6%, 47.4%, 0%, 32.9%)
CIE-LABlab(39.07, 12.60, -48.24)
CIE-LCHlch(39.07, 49.85, 284.64°)
OKLaboklab(47.88% -0.0252 -0.1384)
OKLCHoklch(47.88% 0.141 259.7)
XYZxyz(11.8793, 10.7024, 39.9599)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285AAB #AB7928
analogous
#289CAB #285AAB #3828AB
triadic
#285AAB #AB285A #5AAB28
tetradic
#285AAB #AB289C #AB7928 #28AB38
square
#285AAB #AB289C #AB7928 #28AB38
split-complementary
#285AAB #AB3828 #9CAB28
monochromatic
#112648 #1C4079 #285AAB #3E77D2 #709ADE

Accessibility & contrast

On white

6.69
#285AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#285AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285AAB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285AAB#FFFFFF#000000##FFFFFF
##285AAB1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E62AE
Deuteranopia (green-blind)
#0A56A9
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #285aab;
/* rgb */ color: rgb(40, 90, 171);
/* oklch */ color: oklch(47.9% 0.141 259.7);
Tailwind
colors: {
  custom: {
    50: '#7588c4',
    500: '#285aab',
    950: '#000000',
  },
}
SCSS
$custom: #285aab;
$custom-light: #7588c4;
$custom-dark: #000000;
JSON
{
  "hex": "#285aab",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 171
  },
  "hsl": {
    "h": 217.099,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47875,
    "c": 0.14072,
    "h": 259.7
  },
  "luminance": 0.10704
}

Semantic roles & 50–950 ramp

primary
#285AAB
secondary
#C4A26A
accent
#A743E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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