#285CB0#285CB0

#285CB0 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.7% C 0.145 H 259.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#285CB0
RGBrgb(40, 92, 176)
HSLhsl(217, 63%, 42%)
HSVhsv(217, 77%, 69%)
CMYKcmyk(77.3%, 47.7%, 0%, 31%)
CIE-LABlab(39.98, 13.22, -49.73)
CIE-LCHlch(39.98, 51.46, 284.89°)
OKLaboklab(48.68% -0.0261 -0.1428)
OKLCHoklch(48.68% 0.145 259.7)
XYZxyz(12.5358, 11.2386, 42.5745)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285CB0 #B07C28
analogous
#28A0B0 #285CB0 #3828B0
triadic
#285CB0 #B0285C #5CB028
tetradic
#285CB0 #B028A0 #B07C28 #28B038
square
#285CB0 #B028A0 #B07C28 #28B038
split-complementary
#285CB0 #B03828 #A0B028
monochromatic
#11284C #1D427E #285CB0 #4179D4 #739CDF

Accessibility & contrast

On white

6.47
#285CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#285CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285CB0
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285CB0#FFFFFF#000000##FFFFFF
##285CB01.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E65B3
Deuteranopia (green-blind)
#0358AE
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #285cb0;
/* rgb */ color: rgb(40, 92, 176);
/* oklch */ color: oklch(48.7% 0.145 259.7);
Tailwind
colors: {
  custom: {
    50: '#7689c8',
    500: '#285cb0',
    950: '#000000',
  },
}
SCSS
$custom: #285cb0;
$custom-light: #7689c8;
$custom-dark: #000000;
JSON
{
  "hex": "#285cb0",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 176
  },
  "hsl": {
    "h": 217.059,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48676,
    "c": 0.14517,
    "h": 259.7
  },
  "luminance": 0.1124
}

Semantic roles & 50–950 ramp

primary
#285CB0
secondary
#C6A46D
accent
#A742E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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