#285CB1#285CB1

#285CB1 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.7% C 0.147 H 259.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#285CB1
RGBrgb(40, 92, 177)
HSLhsl(217, 63%, 43%)
HSVhsv(217, 77%, 69%)
CMYKcmyk(77.4%, 48%, 0%, 30.6%)
CIE-LABlab(40.05, 13.61, -50.22)
CIE-LCHlch(40.05, 52.03, 285.16°)
OKLaboklab(48.75% -0.0259 -0.1442)
OKLCHoklch(48.75% 0.147 259.8)
XYZxyz(12.6351, 11.2783, 43.0975)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285CB1 #B17D28
analogous
#28A1B1 #285CB1 #3828B1
triadic
#285CB1 #B1285C #5CB128
tetradic
#285CB1 #B128A1 #B17D28 #28B138
square
#285CB1 #B128A1 #B17D28 #28B138
split-complementary
#285CB1 #B13828 #A1B128
monochromatic
#11284D #1D427F #285CB1 #4279D4 #749DE0

Accessibility & contrast

On white

6.45
#285CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#285CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285CB1
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285CB1#FFFFFF#000000##FFFFFF
##285CB11.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D65B4
Deuteranopia (green-blind)
#0059AF
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #285cb1;
/* rgb */ color: rgb(40, 92, 177);
/* oklch */ color: oklch(48.7% 0.147 259.8);
Tailwind
colors: {
  custom: {
    50: '#7689c9',
    500: '#285cb1',
    950: '#000000',
  },
}
SCSS
$custom: #285cb1;
$custom-light: #7689c9;
$custom-dark: #000000;
JSON
{
  "hex": "#285cb1",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 177
  },
  "hsl": {
    "h": 217.226,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48747,
    "c": 0.14654,
    "h": 259.8
  },
  "luminance": 0.1128
}

Semantic roles & 50–950 ramp

primary
#285CB1
secondary
#C7A56E
accent
#A842E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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