#285493#285493

#285493 is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.8% C 0.114 H 257.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#285493
RGBrgb(40, 84, 147)
HSLhsl(215, 57%, 37%)
HSVhsv(215, 73%, 58%)
CMYKcmyk(72.8%, 42.9%, 0%, 42.4%)
CIE-LABlab(35.79, 7.27, -39.13)
CIE-LCHlch(35.79, 39.80, 280.52°)
OKLaboklab(44.85% -0.0244 -0.1118)
OKLCHoklch(44.85% 0.114 257.7)
XYZxyz(9.3099, 8.8973, 28.8248)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285493 #936728
analogous
#288A93 #285493 #322893
triadic
#285493 #932854 #549328
tetradic
#285493 #93288A #936728 #289332
square
#285493 #93288A #936728 #289332
split-complementary
#285493 #933228 #8A9328
monochromatic
#0E1D33 #1B3963 #285493 #356FC3 #6191D4

Accessibility & contrast

On white

7.56
#285493 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#285493 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285493
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285493#FFFFFF#000000##FFFFFF
##2854931.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365A95
Deuteranopia (green-blind)
#245092
Tritanopia (blue-blind)
#00636C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #285493;
/* rgb */ color: rgb(40, 84, 147);
/* oklch */ color: oklch(44.8% 0.114 257.7);
Tailwind
colors: {
  custom: {
    50: '#7083b3',
    500: '#285493',
    950: '#000000',
  },
}
SCSS
$custom: #285493;
$custom-light: #7083b3;
$custom-dark: #000000;
JSON
{
  "hex": "#285493",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 147
  },
  "hsl": {
    "h": 215.327,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44846,
    "c": 0.11442,
    "h": 257.7
  },
  "luminance": 0.08898
}

Semantic roles & 50–950 ramp

primary
#285493
secondary
#BA945D
accent
#A147E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #285493

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

Preview Lab → · Contrast checker → · Palette generator →

#285493 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva