#285393#285393

#285393 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.6% C 0.116 H 258.3°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#285393
RGBrgb(40, 83, 147)
HSLhsl(216, 57%, 37%)
HSVhsv(216, 73%, 58%)
CMYKcmyk(72.8%, 43.5%, 0%, 42.4%)
CIE-LABlab(35.49, 7.93, -39.61)
CIE-LCHlch(35.49, 40.40, 281.32°)
OKLaboklab(44.61% -0.0234 -0.1132)
OKLCHoklch(44.61% 0.116 258.3)
XYZxyz(9.2329, 8.7432, 28.7991)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285393 #936828
analogous
#288993 #285393 #332893
triadic
#285393 #932853 #539328
tetradic
#285393 #932889 #936828 #289333
square
#285393 #932889 #936828 #289333
split-complementary
#285393 #933328 #899328
monochromatic
#0E1D33 #1B3863 #285393 #356EC3 #618FD4

Accessibility & contrast

On white

7.64
#285393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#285393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285393
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285393#FFFFFF#000000##FFFFFF
##2853931.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345995
Deuteranopia (green-blind)
#224F92
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #285393;
/* rgb */ color: rgb(40, 83, 147);
/* oklch */ color: oklch(44.6% 0.116 258.3);
Tailwind
colors: {
  custom: {
    50: '#7082b3',
    500: '#285393',
    950: '#000000',
  },
}
SCSS
$custom: #285393;
$custom-light: #7082b3;
$custom-dark: #000000;
JSON
{
  "hex": "#285393",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 147
  },
  "hsl": {
    "h": 215.888,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44613,
    "c": 0.11561,
    "h": 258.3
  },
  "luminance": 0.08744
}

Semantic roles & 50–950 ramp

primary
#285393
secondary
#BA945D
accent
#A347E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #285393

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

Preview Lab → · Contrast checker → · Palette generator →

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