#285CB9#285CB9

#285CB9 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.3% C 0.157 H 261.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#285CB9
RGBrgb(40, 92, 185)
HSLhsl(218, 64%, 44%)
HSVhsv(218, 78%, 73%)
CMYKcmyk(78.4%, 50.3%, 0%, 27.5%)
CIE-LABlab(40.58, 16.70, -54.04)
CIE-LCHlch(40.58, 56.56, 287.17°)
OKLaboklab(49.33% -0.0247 -0.1555)
OKLCHoklch(49.33% 0.157 261)
XYZxyz(13.4560, 11.6066, 47.4207)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285CB9 #B98528
analogous
#28A5B9 #285CB9 #3D28B9
triadic
#285CB9 #B9285C #5CB928
tetradic
#285CB9 #B928A5 #B98528 #28B93D
square
#285CB9 #B928A5 #B98528 #28B93D
split-complementary
#285CB9 #B93D28 #A5B928
monochromatic
#122A54 #1D4387 #285CB9 #477BD7 #799FE2

Accessibility & contrast

On white

6.32
#285CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#285CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285CB9
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285CB9#FFFFFF#000000##FFFFFF
##285CB91.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2367BC
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #285cb9;
/* rgb */ color: rgb(40, 92, 185);
/* oklch */ color: oklch(49.3% 0.157 261.0);
Tailwind
colors: {
  custom: {
    50: '#7889cf',
    500: '#285cb9',
    950: '#000000',
  },
}
SCSS
$custom: #285cb9;
$custom-light: #7889cf;
$custom-dark: #000000;
JSON
{
  "hex": "#285cb9",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 185
  },
  "hsl": {
    "h": 218.483,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49333,
    "c": 0.15744,
    "h": 261
  },
  "luminance": 0.11608
}

Semantic roles & 50–950 ramp

primary
#285CB9
secondary
#CAAB73
accent
#AC40E7
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #285CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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