#285DB7#285DB7

#285DB7 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.4% C 0.153 H 260.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#285DB7
RGBrgb(40, 93, 183)
HSLhsl(218, 64%, 44%)
HSVhsv(218, 78%, 72%)
CMYKcmyk(78.1%, 49.2%, 0%, 28.2%)
CIE-LABlab(40.73, 15.27, -52.63)
CIE-LCHlch(40.73, 54.80, 286.18°)
OKLaboklab(49.4% -0.0258 -0.1513)
OKLCHoklch(49.4% 0.154 260.3)
XYZxyz(13.3336, 11.6972, 46.3456)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285DB7 #B78228
analogous
#28A4B7 #285DB7 #3A28B7
triadic
#285DB7 #B7285D #5DB728
tetradic
#285DB7 #B728A4 #B78228 #28B73A
square
#285DB7 #B728A4 #B78228 #28B73A
split-complementary
#285DB7 #B73A28 #A4B728
monochromatic
#122A53 #1D4385 #285DB7 #467BD6 #789FE1

Accessibility & contrast

On white

6.29
#285DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#285DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285DB7
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285DB7#FFFFFF#000000##FFFFFF
##285DB71.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2867BA
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #285db7;
/* rgb */ color: rgb(40, 93, 183);
/* oklch */ color: oklch(49.4% 0.153 260.3);
Tailwind
colors: {
  custom: {
    50: '#788acd',
    500: '#285db7',
    950: '#000000',
  },
}
SCSS
$custom: #285db7;
$custom-light: #788acd;
$custom-dark: #000000;
JSON
{
  "hex": "#285db7",
  "rgb": {
    "r": 40,
    "g": 93,
    "b": 183
  },
  "hsl": {
    "h": 217.762,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49402,
    "c": 0.1535,
    "h": 260.3
  },
  "luminance": 0.11699
}

Semantic roles & 50–950 ramp

primary
#285DB7
secondary
#C9A972
accent
#A941E7
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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