#285AB2#285AB2

#285AB2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.4% C 0.150 H 260.8°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#285AB2
RGBrgb(40, 90, 178)
HSLhsl(218, 63%, 43%)
HSVhsv(218, 78%, 70%)
CMYKcmyk(77.5%, 49.4%, 0%, 30.2%)
CIE-LABlab(39.54, 15.30, -51.62)
CIE-LCHlch(39.54, 53.84, 286.51°)
OKLaboklab(48.38% -0.0241 -0.1484)
OKLCHoklch(48.38% 0.15 260.8)
XYZxyz(12.5642, 10.9764, 43.5673)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285AB2 #B28028
analogous
#289FB2 #285AB2 #3B28B2
triadic
#285AB2 #B2285A #5AB228
tetradic
#285AB2 #B2289F #B28028 #28B23B
square
#285AB2 #B2289F #B28028 #28B23B
split-complementary
#285AB2 #B23B28 #9FB228
monochromatic
#12274E #1D4180 #285AB2 #4377D5 #759BE0

Accessibility & contrast

On white

6.57
#285AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#285AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285AB2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285AB2#FFFFFF#000000##FFFFFF
##285AB21.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2664B5
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #285ab2;
/* rgb */ color: rgb(40, 90, 178);
/* oklch */ color: oklch(48.4% 0.150 260.8);
Tailwind
colors: {
  custom: {
    50: '#7788ca',
    500: '#285ab2',
    950: '#000000',
  },
}
SCSS
$custom: #285ab2;
$custom-light: #7788ca;
$custom-dark: #000000;
JSON
{
  "hex": "#285ab2",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 218.261,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48382,
    "c": 0.15034,
    "h": 260.8
  },
  "luminance": 0.10978
}

Semantic roles & 50–950 ramp

primary
#285AB2
secondary
#C7A76F
accent
#AB41E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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