#285BAE#285BAE

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

Color values

HEX#285BAE
RGBrgb(40, 91, 174)
HSLhsl(217, 63%, 42%)
HSVhsv(217, 77%, 68%)
CMYKcmyk(77%, 47.7%, 0%, 31.8%)
CIE-LABlab(39.56, 13.10, -49.23)
CIE-LCHlch(39.56, 50.94, 284.90°)
OKLaboklab(48.31% -0.0256 -0.1413)
OKLCHoklch(48.31% 0.144 259.7)
XYZxyz(12.2534, 10.9879, 41.5113)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285BAE #AE7B28
analogous
#289EAE #285BAE #3828AE
triadic
#285BAE #AE285B #5BAE28
tetradic
#285BAE #AE289E #AE7B28 #28AE38
square
#285BAE #AE289E #AE7B28 #28AE38
split-complementary
#285BAE #AE3828 #9EAE28
monochromatic
#11274A #1D417C #285BAE #4078D3 #729BDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##285BAE#FFFFFF#000000##FFFFFF
##285BAE1.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)
#2D64B1
Deuteranopia (green-blind)
#0457AC
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #285bae;
/* rgb */ color: rgb(40, 91, 174);
/* oklch */ color: oklch(48.3% 0.144 259.7);
Tailwind
colors: {
  custom: {
    50: '#7688c7',
    500: '#285bae',
    950: '#000000',
  },
}
SCSS
$custom: #285bae;
$custom-light: #7688c7;
$custom-dark: #000000;
JSON
{
  "hex": "#285bae",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 174
  },
  "hsl": {
    "h": 217.164,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48311,
    "c": 0.14363,
    "h": 259.7
  },
  "luminance": 0.10989
}

Semantic roles & 50–950 ramp

primary
#285BAE
secondary
#C6A46C
accent
#A742E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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