#285CB7#285CB7

#285CB7 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.2% C 0.155 H 260.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#285CB7
RGBrgb(40, 92, 183)
HSLhsl(218, 64%, 44%)
HSVhsv(218, 78%, 72%)
CMYKcmyk(78.1%, 49.7%, 0%, 28.2%)
CIE-LABlab(40.45, 15.92, -53.09)
CIE-LCHlch(40.45, 55.43, 286.70°)
OKLaboklab(49.18% -0.025 -0.1527)
OKLCHoklch(49.18% 0.155 260.7)
XYZxyz(13.2464, 11.5228, 46.3165)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285CB7 #B78328
analogous
#28A3B7 #285CB7 #3B28B7
triadic
#285CB7 #B7285C #5CB728
tetradic
#285CB7 #B728A3 #B78328 #28B73B
square
#285CB7 #B728A3 #B78328 #28B73B
split-complementary
#285CB7 #B73B28 #A3B728
monochromatic
#122A53 #1D4385 #285CB7 #467AD6 #789EE1

Accessibility & contrast

On white

6.35
#285CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#285CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285CB7
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285CB7#FFFFFF#000000##FFFFFF
##285CB71.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2566BA
Deuteranopia (green-blind)
#0059B5
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #285cb7;
/* rgb */ color: rgb(40, 92, 183);
/* oklch */ color: oklch(49.2% 0.155 260.7);
Tailwind
colors: {
  custom: {
    50: '#7889cd',
    500: '#285cb7',
    950: '#000000',
  },
}
SCSS
$custom: #285cb7;
$custom-light: #7889cd;
$custom-dark: #000000;
JSON
{
  "hex": "#285cb7",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 183
  },
  "hsl": {
    "h": 218.182,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49184,
    "c": 0.15472,
    "h": 260.7
  },
  "luminance": 0.11524
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #285CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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