#285392#285392

#285392 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.5% C 0.114 H 258.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#285392
RGBrgb(40, 83, 146)
HSLhsl(216, 57%, 36%)
HSVhsv(216, 73%, 57%)
CMYKcmyk(72.6%, 43.2%, 0%, 42.7%)
CIE-LABlab(35.42, 7.54, -39.11)
CIE-LCHlch(35.42, 39.83, 280.92°)
OKLaboklab(44.55% -0.0236 -0.1117)
OKLCHoklch(44.55% 0.114 258.1)
XYZxyz(9.1548, 8.7120, 28.3877)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285392 #926728
analogous
#288892 #285392 #322892
triadic
#285392 #922853 #539228
tetradic
#285392 #922888 #926728 #289232
square
#285392 #922888 #926728 #289232
split-complementary
#285392 #923228 #889228
monochromatic
#0E1C32 #1B3862 #285392 #356EC2 #618FD4

Accessibility & contrast

On white

7.66
#285392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#285392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285392
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285392#FFFFFF#000000##FFFFFF
##2853921.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355994
Deuteranopia (green-blind)
#234F91
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #285392;
/* rgb */ color: rgb(40, 83, 146);
/* oklch */ color: oklch(44.5% 0.114 258.1);
Tailwind
colors: {
  custom: {
    50: '#7082b2',
    500: '#285392',
    950: '#000000',
  },
}
SCSS
$custom: #285392;
$custom-light: #7082b2;
$custom-dark: #000000;
JSON
{
  "hex": "#285392",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 146
  },
  "hsl": {
    "h": 215.66,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44546,
    "c": 0.11419,
    "h": 258.1
  },
  "luminance": 0.08713
}

Semantic roles & 50–950 ramp

primary
#285392
secondary
#B9945D
accent
#A248E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #285392

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

Preview Lab → · Contrast checker → · Palette generator →

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