#285FBC#285FBC

#285FBC is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.2% C 0.158 H 260.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#285FBC
RGBrgb(40, 95, 188)
HSLhsl(218, 65%, 45%)
HSVhsv(218, 79%, 74%)
CMYKcmyk(78.7%, 49.5%, 0%, 26.3%)
CIE-LABlab(41.63, 15.90, -54.10)
CIE-LCHlch(41.63, 56.39, 286.37°)
OKLaboklab(50.2% -0.0266 -0.1556)
OKLCHoklch(50.2% 0.158 260.3)
XYZxyz(14.0411, 12.2647, 49.1945)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285FBC #BC8528
analogous
#28A9BC #285FBC #3B28BC
triadic
#285FBC #BC285F #5FBC28
tetradic
#285FBC #BC28A9 #BC8528 #28BC3B
square
#285FBC #BC28A9 #BC8528 #28BC3B
split-complementary
#285FBC #BC3B28 #A9BC28
monochromatic
#132C57 #1D458A #285FBC #497ED8 #7BA2E3

Accessibility & contrast

On white

6.08
#285FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#285FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285FBC
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285FBC#FFFFFF#000000##FFFFFF
##285FBC1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2769BF
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #285fbc;
/* rgb */ color: rgb(40, 95, 188);
/* oklch */ color: oklch(50.2% 0.158 260.3);
Tailwind
colors: {
  custom: {
    50: '#798bd1',
    500: '#285fbc',
    950: '#000000',
  },
}
SCSS
$custom: #285fbc;
$custom-light: #798bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#285fbc",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 217.703,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50201,
    "c": 0.15786,
    "h": 260.3
  },
  "luminance": 0.12266
}

Semantic roles & 50–950 ramp

primary
#285FBC
secondary
#CBAB75
accent
#A940E8
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #285FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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