#285DB9#285DB9

#285DB9 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.5% C 0.156 H 260.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#285DB9
RGBrgb(40, 93, 185)
HSLhsl(218, 64%, 44%)
HSVhsv(218, 78%, 73%)
CMYKcmyk(78.4%, 49.7%, 0%, 27.5%)
CIE-LABlab(40.87, 16.04, -53.59)
CIE-LCHlch(40.87, 55.94, 286.67°)
OKLaboklab(49.55% -0.0255 -0.1541)
OKLCHoklch(49.55% 0.156 260.6)
XYZxyz(13.5432, 11.7810, 47.4497)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285DB9 #B98428
analogous
#28A6B9 #285DB9 #3C28B9
triadic
#285DB9 #B9285D #5DB928
tetradic
#285DB9 #B928A6 #B98428 #28B93C
square
#285DB9 #B928A6 #B98428 #28B93C
split-complementary
#285DB9 #B93C28 #A6B928
monochromatic
#122A54 #1D4487 #285DB9 #477CD7 #79A0E2

Accessibility & contrast

On white

6.26
#285DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#285DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285DB9
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285DB9#FFFFFF#000000##FFFFFF
##285DB91.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2667BC
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #285db9;
/* rgb */ color: rgb(40, 93, 185);
/* oklch */ color: oklch(49.5% 0.156 260.6);
Tailwind
colors: {
  custom: {
    50: '#788acf',
    500: '#285db9',
    950: '#000000',
  },
}
SCSS
$custom: #285db9;
$custom-light: #788acf;
$custom-dark: #000000;
JSON
{
  "hex": "#285db9",
  "rgb": {
    "r": 40,
    "g": 93,
    "b": 185
  },
  "hsl": {
    "h": 218.069,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49548,
    "c": 0.15623,
    "h": 260.6
  },
  "luminance": 0.11783
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #285DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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