#285EBD#285EBD

#285EBD is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.1% C 0.160 H 260.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#285EBD
RGBrgb(40, 94, 189)
HSLhsl(218, 65%, 45%)
HSVhsv(218, 79%, 74%)
CMYKcmyk(78.8%, 50.3%, 0%, 25.9%)
CIE-LABlab(41.42, 16.93, -55.03)
CIE-LCHlch(41.42, 57.57, 287.10°)
OKLaboklab(50.06% -0.0257 -0.1583)
OKLCHoklch(50.06% 0.16 260.8)
XYZxyz(14.0598, 12.1290, 49.7344)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285EBD #BD8728
analogous
#28A9BD #285EBD #3C28BD
triadic
#285EBD #BD285E #5EBD28
tetradic
#285EBD #BD28A9 #BD8728 #28BD3C
square
#285EBD #BD28A9 #BD8728 #28BD3C
split-complementary
#285EBD #BD3C28 #A9BD28
monochromatic
#132C58 #1D458A #285EBD #4A7DD9 #7CA2E3

Accessibility & contrast

On white

6.13
#285EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#285EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285EBD
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285EBD#FFFFFF#000000##FFFFFF
##285EBD1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2369C0
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #285ebd;
/* rgb */ color: rgb(40, 94, 189);
/* oklch */ color: oklch(50.1% 0.160 260.8);
Tailwind
colors: {
  custom: {
    50: '#798bd1',
    500: '#285ebd',
    950: '#000000',
  },
}
SCSS
$custom: #285ebd;
$custom-light: #798bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#285ebd",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 189
  },
  "hsl": {
    "h": 218.255,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5006,
    "c": 0.16042,
    "h": 260.8
  },
  "luminance": 0.12131
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #285EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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