#285AA3#285AA3

#285AA3 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.3% C 0.130 H 258.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#285AA3
RGBrgb(40, 90, 163)
HSLhsl(216, 61%, 40%)
HSVhsv(216, 75%, 64%)
CMYKcmyk(75.5%, 44.8%, 0%, 36.1%)
CIE-LABlab(38.56, 9.51, -44.31)
CIE-LCHlch(38.56, 45.31, 282.11°)
OKLaboklab(47.32% -0.0267 -0.1269)
OKLCHoklch(47.32% 0.13 258.1)
XYZxyz(11.1397, 10.4065, 36.0648)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285AA3 #A37128
analogous
#2897A3 #285AA3 #3428A3
triadic
#285AA3 #A3285A #5AA328
tetradic
#285AA3 #A32897 #A37128 #28A334
square
#285AA3 #A32897 #A37128 #28A334
split-complementary
#285AA3 #A33428 #97A328
monochromatic
#102441 #1C3F72 #285AA3 #3A76CF #6B98DB

Accessibility & contrast

On white

6.81
#285AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#285AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285AA3
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285AA3#FFFFFF#000000##FFFFFF
##285AA31.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3561A6
Deuteranopia (green-blind)
#1D56A2
Tritanopia (blue-blind)
#006B76
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #285aa3;
/* rgb */ color: rgb(40, 90, 163);
/* oklch */ color: oklch(47.3% 0.130 258.1);
Tailwind
colors: {
  custom: {
    50: '#7388bf',
    500: '#285aa3',
    950: '#000000',
  },
}
SCSS
$custom: #285aa3;
$custom-light: #7388bf;
$custom-dark: #000000;
JSON
{
  "hex": "#285aa3",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 163
  },
  "hsl": {
    "h": 215.61,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47315,
    "c": 0.12965,
    "h": 258.1
  },
  "luminance": 0.10408
}

Semantic roles & 50–950 ramp

primary
#285AA3
secondary
#C19C66
accent
#A344E4
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #285AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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