#285AA7#285AA7

#285AA7 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.6% C 0.135 H 258.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#285AA7
RGBrgb(40, 90, 167)
HSLhsl(216, 61%, 41%)
HSVhsv(216, 76%, 65%)
CMYKcmyk(76%, 46.1%, 0%, 34.5%)
CIE-LABlab(38.82, 11.05, -46.28)
CIE-LCHlch(38.82, 47.58, 283.43°)
OKLaboklab(47.59% -0.0259 -0.1327)
OKLCHoklch(47.59% 0.135 258.9)
XYZxyz(11.5037, 10.5522, 37.9822)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285AA7 #A77528
analogous
#2899A7 #285AA7 #3528A7
triadic
#285AA7 #A7285A #5AA728
tetradic
#285AA7 #A72899 #A77528 #28A735
square
#285AA7 #A72899 #A77528 #28A735
split-complementary
#285AA7 #A73528 #99A728
monochromatic
#102544 #1C3F76 #285AA7 #3C76D0 #6D99DC

Accessibility & contrast

On white

6.75
#285AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#285AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285AA7
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285AA7#FFFFFF#000000##FFFFFF
##285AA71.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3262AA
Deuteranopia (green-blind)
#1556A5
Tritanopia (blue-blind)
#006C78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #285aa7;
/* rgb */ color: rgb(40, 90, 167);
/* oklch */ color: oklch(47.6% 0.135 258.9);
Tailwind
colors: {
  custom: {
    50: '#7488c2',
    500: '#285aa7',
    950: '#000000',
  },
}
SCSS
$custom: #285aa7;
$custom-light: #7488c2;
$custom-dark: #000000;
JSON
{
  "hex": "#285aa7",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 167
  },
  "hsl": {
    "h": 216.378,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47592,
    "c": 0.13519,
    "h": 258.9
  },
  "luminance": 0.10553
}

Semantic roles & 50–950 ramp

primary
#285AA7
secondary
#C39F68
accent
#A543E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #285AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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