#285EB9#285EB9

#285EB9 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.8% C 0.155 H 260.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#285EB9
RGBrgb(40, 94, 185)
HSLhsl(218, 64%, 44%)
HSVhsv(218, 78%, 73%)
CMYKcmyk(78.4%, 49.2%, 0%, 27.5%)
CIE-LABlab(41.15, 15.39, -53.13)
CIE-LCHlch(41.15, 55.31, 286.16°)
OKLaboklab(49.77% -0.0263 -0.1528)
OKLCHoklch(49.77% 0.155 260.2)
XYZxyz(13.6316, 11.9577, 47.4792)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285EB9 #B98328
analogous
#28A7B9 #285EB9 #3B28B9
triadic
#285EB9 #B9285E #5EB928
tetradic
#285EB9 #B928A7 #B98328 #28B93B
square
#285EB9 #B928A7 #B98328 #28B93B
split-complementary
#285EB9 #B93B28 #A7B928
monochromatic
#122B54 #1D4487 #285EB9 #477DD7 #79A0E2

Accessibility & contrast

On white

6.19
#285EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#285EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285EB9
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285EB9#FFFFFF#000000##FFFFFF
##285EB91.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2868BC
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #285eb9;
/* rgb */ color: rgb(40, 94, 185);
/* oklch */ color: oklch(49.8% 0.155 260.2);
Tailwind
colors: {
  custom: {
    50: '#788bcf',
    500: '#285eb9',
    950: '#000000',
  },
}
SCSS
$custom: #285eb9;
$custom-light: #788bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#285eb9",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 185
  },
  "hsl": {
    "h": 217.655,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49765,
    "c": 0.15501,
    "h": 260.2
  },
  "luminance": 0.11959
}

Semantic roles & 50–950 ramp

primary
#285EB9
secondary
#CAAA73
accent
#A940E7
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #285EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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