#285293#285293

#285293 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.4% C 0.117 H 258.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#285293
RGBrgb(40, 82, 147)
HSLhsl(216, 57%, 37%)
HSVhsv(216, 73%, 58%)
CMYKcmyk(72.8%, 44.2%, 0%, 42.4%)
CIE-LABlab(35.19, 8.59, -40.09)
CIE-LCHlch(35.19, 41.00, 282.09°)
OKLaboklab(44.38% -0.0224 -0.1146)
OKLCHoklch(44.38% 0.117 258.9)
XYZxyz(9.1569, 8.5913, 28.7738)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285293 #936928
analogous
#288893 #285293 #342893
triadic
#285293 #932852 #529328
tetradic
#285293 #932888 #936928 #289334
square
#285293 #932888 #936928 #289334
split-complementary
#285293 #933428 #889328
monochromatic
#0E1C33 #1B3763 #285293 #356DC3 #618ED4

Accessibility & contrast

On white

7.73
#285293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#285293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285293
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285293#FFFFFF#000000##FFFFFF
##2852931.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325896
Deuteranopia (green-blind)
#1F4E92
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #285293;
/* rgb */ color: rgb(40, 82, 147);
/* oklch */ color: oklch(44.4% 0.117 258.9);
Tailwind
colors: {
  custom: {
    50: '#7082b3',
    500: '#285293',
    950: '#000000',
  },
}
SCSS
$custom: #285293;
$custom-light: #7082b3;
$custom-dark: #000000;
JSON
{
  "hex": "#285293",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 147
  },
  "hsl": {
    "h": 216.449,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44381,
    "c": 0.11681,
    "h": 258.9
  },
  "luminance": 0.08592
}

Semantic roles & 50–950 ramp

primary
#285293
secondary
#BA955D
accent
#A447E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #285293

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

Preview Lab → · Contrast checker → · Palette generator →

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