#285CB4#285CB4

#285CB4 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.0% C 0.151 H 260.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#285CB4
RGBrgb(40, 92, 180)
HSLhsl(218, 64%, 43%)
HSVhsv(218, 78%, 71%)
CMYKcmyk(77.8%, 48.9%, 0%, 29.4%)
CIE-LABlab(40.24, 14.77, -51.66)
CIE-LCHlch(40.24, 53.73, 285.95°)
OKLaboklab(48.97% -0.0254 -0.1485)
OKLCHoklch(48.97% 0.151 260.3)
XYZxyz(12.9374, 11.3992, 44.6896)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285CB4 #B48028
analogous
#28A2B4 #285CB4 #3A28B4
triadic
#285CB4 #B4285C #5CB428
tetradic
#285CB4 #B428A2 #B48028 #28B43A
square
#285CB4 #B428A2 #B48028 #28B43A
split-complementary
#285CB4 #B43A28 #A2B428
monochromatic
#122950 #1D4282 #285CB4 #447AD5 #769DE1

Accessibility & contrast

On white

6.40
#285CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#285CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285CB4
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285CB4#FFFFFF#000000##FFFFFF
##285CB41.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2966B7
Deuteranopia (green-blind)
#0059B2
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #285cb4;
/* rgb */ color: rgb(40, 92, 180);
/* oklch */ color: oklch(49.0% 0.151 260.3);
Tailwind
colors: {
  custom: {
    50: '#7789cb',
    500: '#285cb4',
    950: '#000000',
  },
}
SCSS
$custom: #285cb4;
$custom-light: #7789cb;
$custom-dark: #000000;
JSON
{
  "hex": "#285cb4",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 180
  },
  "hsl": {
    "h": 217.714,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48965,
    "c": 0.15063,
    "h": 260.3
  },
  "luminance": 0.11401
}

Semantic roles & 50–950 ramp

primary
#285CB4
secondary
#C8A770
accent
#A941E7
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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