#285BA4#285BA4

#285BA4 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.6% C 0.130 H 257.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#285BA4
RGBrgb(40, 91, 164)
HSLhsl(215, 61%, 40%)
HSVhsv(215, 76%, 64%)
CMYKcmyk(75.6%, 44.5%, 0%, 35.7%)
CIE-LABlab(38.92, 9.24, -44.33)
CIE-LCHlch(38.92, 45.28, 281.77°)
OKLaboklab(47.61% -0.0274 -0.1269)
OKLCHoklch(47.61% 0.13 257.8)
XYZxyz(11.3145, 10.6123, 36.5668)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285BA4 #A47128
analogous
#2899A4 #285BA4 #3328A4
triadic
#285BA4 #A4285B #5BA428
tetradic
#285BA4 #A42899 #A47128 #28A433
square
#285BA4 #A42899 #A47128 #28A433
split-complementary
#285BA4 #A43328 #99A428
monochromatic
#102442 #1C4073 #285BA4 #3A77CF #6B99DB

Accessibility & contrast

On white

6.72
#285BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#285BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285BA4
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285BA4#FFFFFF#000000##FFFFFF
##285BA41.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3662A7
Deuteranopia (green-blind)
#1E56A3
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #285ba4;
/* rgb */ color: rgb(40, 91, 164);
/* oklch */ color: oklch(47.6% 0.130 257.8);
Tailwind
colors: {
  custom: {
    50: '#7388bf',
    500: '#285ba4',
    950: '#000000',
  },
}
SCSS
$custom: #285ba4;
$custom-light: #7388bf;
$custom-dark: #000000;
JSON
{
  "hex": "#285ba4",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 164
  },
  "hsl": {
    "h": 215.323,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.47611,
    "c": 0.12985,
    "h": 257.8
  },
  "luminance": 0.10614
}

Semantic roles & 50–950 ramp

primary
#285BA4
secondary
#C19C66
accent
#A244E4
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #285BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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