#285CBA#285CBA

#285CBA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.4% C 0.159 H 261.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#285CBA
RGBrgb(40, 92, 186)
HSLhsl(219, 65%, 44%)
HSVhsv(219, 78%, 73%)
CMYKcmyk(78.5%, 50.5%, 0%, 27.1%)
CIE-LABlab(40.65, 17.08, -54.52)
CIE-LCHlch(40.65, 57.13, 287.40°)
OKLaboklab(49.41% -0.0246 -0.1569)
OKLCHoklch(49.41% 0.159 261.1)
XYZxyz(13.5619, 11.6490, 47.9786)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285CBA #BA8628
analogous
#28A5BA #285CBA #3D28BA
triadic
#285CBA #BA285C #5CBA28
tetradic
#285CBA #BA28A5 #BA8628 #28BA3D
square
#285CBA #BA28A5 #BA8628 #28BA3D
split-complementary
#285CBA #BA3D28 #A5BA28
monochromatic
#122A55 #1D4388 #285CBA #487BD8 #7A9FE2

Accessibility & contrast

On white

6.31
#285CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#285CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285CBA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285CBA#FFFFFF#000000##FFFFFF
##285CBA1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2167BD
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #285cba;
/* rgb */ color: rgb(40, 92, 186);
/* oklch */ color: oklch(49.4% 0.159 261.1);
Tailwind
colors: {
  custom: {
    50: '#7889cf',
    500: '#285cba',
    950: '#000000',
  },
}
SCSS
$custom: #285cba;
$custom-light: #7889cf;
$custom-dark: #000000;
JSON
{
  "hex": "#285cba",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 186
  },
  "hsl": {
    "h": 218.63,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49407,
    "c": 0.1588,
    "h": 261.1
  },
  "luminance": 0.11651
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #285CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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