#285AA2#285AA2

#285AA2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.2% C 0.128 H 257.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#285AA2
RGBrgb(40, 90, 162)
HSLhsl(215, 60%, 40%)
HSVhsv(215, 75%, 64%)
CMYKcmyk(75.3%, 44.4%, 0%, 36.5%)
CIE-LABlab(38.50, 9.12, -43.81)
CIE-LCHlch(38.50, 44.75, 281.76°)
OKLaboklab(47.25% -0.0269 -0.1254)
OKLCHoklch(47.25% 0.128 257.9)
XYZxyz(11.0504, 10.3708, 35.5948)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285AA2 #A27028
analogous
#2897A2 #285AA2 #3328A2
triadic
#285AA2 #A2285A #5AA228
tetradic
#285AA2 #A22897 #A27028 #28A233
square
#285AA2 #A22897 #A27028 #28A233
split-complementary
#285AA2 #A23328 #97A228
monochromatic
#102340 #1C3F71 #285AA2 #3976CE #6A98DA

Accessibility & contrast

On white

6.83
#285AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #285AA2
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285AA2#FFFFFF#000000##FFFFFF
##285AA21.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A5
Deuteranopia (green-blind)
#1F55A1
Tritanopia (blue-blind)
#006B76
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #285aa2;
/* rgb */ color: rgb(40, 90, 162);
/* oklch */ color: oklch(47.2% 0.128 257.9);
Tailwind
colors: {
  custom: {
    50: '#7388be',
    500: '#285aa2',
    950: '#000000',
  },
}
SCSS
$custom: #285aa2;
$custom-light: #7388be;
$custom-dark: #000000;
JSON
{
  "hex": "#285aa2",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 162
  },
  "hsl": {
    "h": 215.41,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47246,
    "c": 0.12827,
    "h": 257.9
  },
  "luminance": 0.10372
}

Semantic roles & 50–950 ramp

primary
#285AA2
secondary
#C19B65
accent
#A244E4
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #285AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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