#285AA1#285AA1

#285AA1 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.2% C 0.127 H 257.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#285AA1
RGBrgb(40, 90, 161)
HSLhsl(215, 60%, 39%)
HSVhsv(215, 75%, 63%)
CMYKcmyk(75.2%, 44.1%, 0%, 36.9%)
CIE-LABlab(38.44, 8.73, -43.31)
CIE-LCHlch(38.44, 44.19, 281.40°)
OKLaboklab(47.18% -0.0271 -0.124)
OKLCHoklch(47.18% 0.127 257.7)
XYZxyz(10.9619, 10.3354, 35.1285)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285AA1 #A16F28
analogous
#2897A1 #285AA1 #3328A1
triadic
#285AA1 #A1285A #5AA128
tetradic
#285AA1 #A12897 #A16F28 #28A133
square
#285AA1 #A12897 #A16F28 #28A133
split-complementary
#285AA1 #A13328 #97A128
monochromatic
#10233F #1C3F70 #285AA1 #3976CE #6A98DA

Accessibility & contrast

On white

6.85
#285AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#285AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285AA1
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285AA1#FFFFFF#000000##FFFFFF
##285AA11.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3760A4
Deuteranopia (green-blind)
#2055A0
Tritanopia (blue-blind)
#006B75
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #285aa1;
/* rgb */ color: rgb(40, 90, 161);
/* oklch */ color: oklch(47.2% 0.127 257.7);
Tailwind
colors: {
  custom: {
    50: '#7388bd',
    500: '#285aa1',
    950: '#000000',
  },
}
SCSS
$custom: #285aa1;
$custom-light: #7388bd;
$custom-dark: #000000;
JSON
{
  "hex": "#285aa1",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 161
  },
  "hsl": {
    "h": 215.207,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47178,
    "c": 0.12688,
    "h": 257.7
  },
  "luminance": 0.10337
}

Semantic roles & 50–950 ramp

primary
#285AA1
secondary
#C09A65
accent
#A244E3
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #285AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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