#285EB4#285EB4

#285EB4 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.4% C 0.148 H 259.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#285EB4
RGBrgb(40, 94, 180)
HSLhsl(217, 64%, 43%)
HSVhsv(217, 78%, 71%)
CMYKcmyk(77.8%, 47.8%, 0%, 29.4%)
CIE-LABlab(40.82, 13.46, -50.74)
CIE-LCHlch(40.82, 52.49, 284.86°)
OKLaboklab(49.4% -0.0271 -0.1457)
OKLCHoklch(49.4% 0.148 259.5)
XYZxyz(13.1130, 11.7503, 44.7481)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285EB4 #B47E28
analogous
#28A4B4 #285EB4 #3828B4
triadic
#285EB4 #B4285E #5EB428
tetradic
#285EB4 #B428A4 #B47E28 #28B438
square
#285EB4 #B428A4 #B47E28 #28B438
split-complementary
#285EB4 #B43828 #A4B428
monochromatic
#122A50 #1D4482 #285EB4 #447CD5 #769FE1

Accessibility & contrast

On white

6.27
#285EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#285EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285EB4
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285EB4#FFFFFF#000000##FFFFFF
##285EB41.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E67B7
Deuteranopia (green-blind)
#005AB2
Tritanopia (blue-blind)
#007380
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #285eb4;
/* rgb */ color: rgb(40, 94, 180);
/* oklch */ color: oklch(49.4% 0.148 259.5);
Tailwind
colors: {
  custom: {
    50: '#778bcb',
    500: '#285eb4',
    950: '#000000',
  },
}
SCSS
$custom: #285eb4;
$custom-light: #778bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#285eb4",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 180
  },
  "hsl": {
    "h": 216.857,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49404,
    "c": 0.14821,
    "h": 259.5
  },
  "luminance": 0.11752
}

Semantic roles & 50–950 ramp

primary
#285EB4
secondary
#C8A670
accent
#A741E7
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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