#285EB7#285EB7

#285EB7 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.6% C 0.152 H 259.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#285EB7
RGBrgb(40, 94, 183)
HSLhsl(217, 64%, 44%)
HSVhsv(217, 78%, 72%)
CMYKcmyk(78.1%, 48.6%, 0%, 28.2%)
CIE-LABlab(41.02, 14.62, -52.18)
CIE-LCHlch(41.02, 54.18, 285.65°)
OKLaboklab(49.62% -0.0266 -0.15)
OKLCHoklch(49.62% 0.152 259.9)
XYZxyz(13.4219, 11.8739, 46.3751)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285EB7 #B78128
analogous
#28A5B7 #285EB7 #3928B7
triadic
#285EB7 #B7285E #5EB728
tetradic
#285EB7 #B728A5 #B78128 #28B739
square
#285EB7 #B728A5 #B78128 #28B739
split-complementary
#285EB7 #B73928 #A5B728
monochromatic
#122A53 #1D4485 #285EB7 #467CD6 #78A0E1

Accessibility & contrast

On white

6.22
#285EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#285EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285EB7
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285EB7#FFFFFF#000000##FFFFFF
##285EB71.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B68BA
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #285eb7;
/* rgb */ color: rgb(40, 94, 183);
/* oklch */ color: oklch(49.6% 0.152 259.9);
Tailwind
colors: {
  custom: {
    50: '#788bcd',
    500: '#285eb7',
    950: '#000000',
  },
}
SCSS
$custom: #285eb7;
$custom-light: #788bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#285eb7",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 183
  },
  "hsl": {
    "h": 217.343,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4962,
    "c": 0.1523,
    "h": 259.9
  },
  "luminance": 0.11875
}

Semantic roles & 50–950 ramp

primary
#285EB7
secondary
#C9A872
accent
#A841E7
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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