#285292#285292

#285292 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.3% C 0.115 H 258.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#285292
RGBrgb(40, 82, 146)
HSLhsl(216, 57%, 36%)
HSVhsv(216, 73%, 57%)
CMYKcmyk(72.6%, 43.8%, 0%, 42.7%)
CIE-LABlab(35.12, 8.20, -39.59)
CIE-LCHlch(35.12, 40.43, 281.71°)
OKLaboklab(44.31% -0.0226 -0.1131)
OKLCHoklch(44.31% 0.115 258.7)
XYZxyz(9.0788, 8.5601, 28.3623)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285292 #926828
analogous
#288792 #285292 #332892
triadic
#285292 #922852 #529228
tetradic
#285292 #922887 #926828 #289233
square
#285292 #922887 #926828 #289233
split-complementary
#285292 #923328 #879228
monochromatic
#0E1C32 #1B3762 #285292 #356DC2 #618ED4

Accessibility & contrast

On white

7.74
#285292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#285292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285292
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285292#FFFFFF#000000##FFFFFF
##2852921.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335894
Deuteranopia (green-blind)
#214E91
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #285292;
/* rgb */ color: rgb(40, 82, 146);
/* oklch */ color: oklch(44.3% 0.115 258.7);
Tailwind
colors: {
  custom: {
    50: '#7082b2',
    500: '#285292',
    950: '#000000',
  },
}
SCSS
$custom: #285292;
$custom-light: #7082b2;
$custom-dark: #000000;
JSON
{
  "hex": "#285292",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 146
  },
  "hsl": {
    "h": 216.226,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44313,
    "c": 0.11539,
    "h": 258.7
  },
  "luminance": 0.08561
}

Semantic roles & 50–950 ramp

primary
#285292
secondary
#B9955D
accent
#A448E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #285292

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

Preview Lab → · Contrast checker → · Palette generator →

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