#285AAD#285AAD

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

Color values

HEX#285AAD
RGBrgb(40, 90, 173)
HSLhsl(217, 62%, 42%)
HSVhsv(217, 77%, 68%)
CMYKcmyk(76.9%, 48%, 0%, 32.2%)
CIE-LABlab(39.21, 13.37, -49.21)
CIE-LCHlch(39.21, 50.99, 285.20°)
OKLaboklab(48.02% -0.0249 -0.1413)
OKLCHoklch(48.02% 0.143 260)
XYZxyz(12.0713, 10.7792, 40.9715)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285AAD #AD7B28
analogous
#289CAD #285AAD #3928AD
triadic
#285AAD #AD285A #5AAD28
tetradic
#285AAD #AD289C #AD7B28 #28AD39
square
#285AAD #AD289C #AD7B28 #28AD39
split-complementary
#285AAD #AD3928 #9CAD28
monochromatic
#11264A #1D407B #285AAD #3F77D3 #719ADE

Accessibility & contrast

On white

6.65
#285AAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#285AAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285AAD
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285AAD#FFFFFF#000000##FFFFFF
##285AAD1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C63B0
Deuteranopia (green-blind)
#0257AB
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #285aad;
/* rgb */ color: rgb(40, 90, 173);
/* oklch */ color: oklch(48.0% 0.143 260.0);
Tailwind
colors: {
  custom: {
    50: '#7588c6',
    500: '#285aad',
    950: '#000000',
  },
}
SCSS
$custom: #285aad;
$custom-light: #7588c6;
$custom-dark: #000000;
JSON
{
  "hex": "#285aad",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 173
  },
  "hsl": {
    "h": 217.444,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48018,
    "c": 0.14348,
    "h": 260
  },
  "luminance": 0.10781
}

Semantic roles & 50–950 ramp

primary
#285AAD
secondary
#C5A46C
accent
#A842E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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