#285BAC#285BAC

#285BAC is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.141 H 259.4°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#285BAC
RGBrgb(40, 91, 172)
HSLhsl(217, 62%, 42%)
HSVhsv(217, 77%, 67%)
CMYKcmyk(76.7%, 47.1%, 0%, 32.5%)
CIE-LABlab(39.43, 12.33, -48.26)
CIE-LCHlch(39.43, 49.81, 284.33°)
OKLaboklab(48.17% -0.0259 -0.1385)
OKLCHoklch(48.17% 0.141 259.4)
XYZxyz(12.0598, 10.9105, 40.4921)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285BAC #AC7928
analogous
#289DAC #285BAC #3728AC
triadic
#285BAC #AC285B #5BAC28
tetradic
#285BAC #AC289D #AC7928 #28AC37
square
#285BAC #AC289D #AC7928 #28AC37
split-complementary
#285BAC #AC3728 #9DAC28
monochromatic
#112649 #1C417A #285BAC #3F78D2 #719BDE

Accessibility & contrast

On white

6.60
#285BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#285BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285BAC
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285BAC#FFFFFF#000000##FFFFFF
##285BAC1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F63AF
Deuteranopia (green-blind)
#0C57AA
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #285bac;
/* rgb */ color: rgb(40, 91, 172);
/* oklch */ color: oklch(48.2% 0.141 259.4);
Tailwind
colors: {
  custom: {
    50: '#7588c5',
    500: '#285bac',
    950: '#000000',
  },
}
SCSS
$custom: #285bac;
$custom-light: #7588c5;
$custom-dark: #000000;
JSON
{
  "hex": "#285bac",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 172
  },
  "hsl": {
    "h": 216.818,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48169,
    "c": 0.14088,
    "h": 259.4
  },
  "luminance": 0.10912
}

Semantic roles & 50–950 ramp

primary
#285BAC
secondary
#C5A26B
accent
#A642E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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