#285EBC#285EBC

#285EBC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.0% C 0.159 H 260.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#285EBC
RGBrgb(40, 94, 188)
HSLhsl(218, 65%, 45%)
HSVhsv(218, 79%, 74%)
CMYKcmyk(78.7%, 50%, 0%, 26.3%)
CIE-LABlab(41.35, 16.55, -54.55)
CIE-LCHlch(41.35, 57.01, 286.87°)
OKLaboklab(49.99% -0.0259 -0.1569)
OKLCHoklch(49.99% 0.159 260.6)
XYZxyz(13.9516, 12.0857, 49.1647)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285EBC #BC8628
analogous
#28A8BC #285EBC #3C28BC
triadic
#285EBC #BC285E #5EBC28
tetradic
#285EBC #BC28A8 #BC8628 #28BC3C
square
#285EBC #BC28A8 #BC8628 #28BC3C
split-complementary
#285EBC #BC3C28 #A8BC28
monochromatic
#132C57 #1D458A #285EBC #497DD8 #7BA1E3

Accessibility & contrast

On white

6.15
#285EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#285EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285EBC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285EBC#FFFFFF#000000##FFFFFF
##285EBC1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2469BF
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #285ebc;
/* rgb */ color: rgb(40, 94, 188);
/* oklch */ color: oklch(50.0% 0.159 260.6);
Tailwind
colors: {
  custom: {
    50: '#798bd1',
    500: '#285ebc',
    950: '#000000',
  },
}
SCSS
$custom: #285ebc;
$custom-light: #798bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#285ebc",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 188
  },
  "hsl": {
    "h": 218.108,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49986,
    "c": 0.15907,
    "h": 260.6
  },
  "luminance": 0.12087
}

Semantic roles & 50–950 ramp

primary
#285EBC
secondary
#CBAC75
accent
#AB40E8
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #285EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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