#285CB2#285CB2

#285CB2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.8% C 0.148 H 260.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#285CB2
RGBrgb(40, 92, 178)
HSLhsl(217, 63%, 43%)
HSVhsv(217, 78%, 70%)
CMYKcmyk(77.5%, 48.3%, 0%, 30.2%)
CIE-LABlab(40.11, 13.99, -50.70)
CIE-LCHlch(40.11, 52.59, 285.43°)
OKLaboklab(48.82% -0.0257 -0.1456)
OKLCHoklch(48.82% 0.148 260)
XYZxyz(12.7352, 11.3183, 43.6243)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285CB2 #B27E28
analogous
#28A1B2 #285CB2 #3928B2
triadic
#285CB2 #B2285C #5CB228
tetradic
#285CB2 #B228A1 #B27E28 #28B239
square
#285CB2 #B228A1 #B27E28 #28B239
split-complementary
#285CB2 #B23928 #A1B228
monochromatic
#12284E #1D4280 #285CB2 #437AD5 #759DE0

Accessibility & contrast

On white

6.43
#285CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #285CB2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285CB2#FFFFFF#000000##FFFFFF
##285CB21.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C65B5
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #285cb2;
/* rgb */ color: rgb(40, 92, 178);
/* oklch */ color: oklch(48.8% 0.148 260.0);
Tailwind
colors: {
  custom: {
    50: '#7789ca',
    500: '#285cb2',
    950: '#000000',
  },
}
SCSS
$custom: #285cb2;
$custom-light: #7789ca;
$custom-dark: #000000;
JSON
{
  "hex": "#285cb2",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 217.391,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4882,
    "c": 0.14791,
    "h": 260
  },
  "luminance": 0.1132
}

Semantic roles & 50–950 ramp

primary
#285CB2
secondary
#C7A66F
accent
#A841E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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