#285FBA#285FBA

#285FBA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.1% C 0.155 H 260.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#285FBA
RGBrgb(40, 95, 186)
HSLhsl(217, 65%, 44%)
HSVhsv(217, 78%, 73%)
CMYKcmyk(78.5%, 48.9%, 0%, 27.1%)
CIE-LABlab(41.50, 15.12, -53.15)
CIE-LCHlch(41.50, 55.26, 285.88°)
OKLaboklab(50.06% -0.0269 -0.1528)
OKLCHoklch(50.06% 0.155 260)
XYZxyz(13.8270, 12.1791, 48.0669)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285FBA #BA8328
analogous
#28A8BA #285FBA #3A28BA
triadic
#285FBA #BA285F #5FBA28
tetradic
#285FBA #BA28A8 #BA8328 #28BA3A
square
#285FBA #BA28A8 #BA8328 #28BA3A
split-complementary
#285FBA #BA3A28 #A8BA28
monochromatic
#122C55 #1D4588 #285FBA #487ED8 #7AA1E2

Accessibility & contrast

On white

6.11
#285FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#285FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285FBA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285FBA#FFFFFF#000000##FFFFFF
##285FBA1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A69BD
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #285fba;
/* rgb */ color: rgb(40, 95, 186);
/* oklch */ color: oklch(50.1% 0.155 260.0);
Tailwind
colors: {
  custom: {
    50: '#788bcf',
    500: '#285fba',
    950: '#000000',
  },
}
SCSS
$custom: #285fba;
$custom-light: #788bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#285fba",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 186
  },
  "hsl": {
    "h": 217.397,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50055,
    "c": 0.15515,
    "h": 260
  },
  "luminance": 0.12181
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #285FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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