#285396#285396

#285396 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.8% C 0.120 H 259.0°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#285396
RGBrgb(40, 83, 150)
HSLhsl(217, 58%, 37%)
HSVhsv(217, 73%, 59%)
CMYKcmyk(73.3%, 44.7%, 0%, 41.2%)
CIE-LABlab(35.67, 9.09, -41.13)
CIE-LCHlch(35.67, 42.12, 282.46°)
OKLaboklab(44.82% -0.0228 -0.1177)
OKLCHoklch(44.82% 0.12 259)
XYZxyz(9.4714, 8.8386, 30.0551)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285396 #966B28
analogous
#288A96 #285396 #342896
triadic
#285396 #962853 #539628
tetradic
#285396 #96288A #966B28 #289634
square
#285396 #96288A #966B28 #289634
split-complementary
#285396 #963428 #8A9628
monochromatic
#0E1E35 #1B3866 #285396 #356EC6 #6390D5

Accessibility & contrast

On white

7.59
#285396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#285396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285396
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285396#FFFFFF#000000##FFFFFF
##2853961.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325999
Deuteranopia (green-blind)
#1E4F95
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #285396;
/* rgb */ color: rgb(40, 83, 150);
/* oklch */ color: oklch(44.8% 0.120 259.0);
Tailwind
colors: {
  custom: {
    50: '#7182b5',
    500: '#285396',
    950: '#000000',
  },
}
SCSS
$custom: #285396;
$custom-light: #7182b5;
$custom-dark: #000000;
JSON
{
  "hex": "#285396",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 150
  },
  "hsl": {
    "h": 216.545,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44818,
    "c": 0.11986,
    "h": 259
  },
  "luminance": 0.0884
}

Semantic roles & 50–950 ramp

primary
#285396
secondary
#BB975F
accent
#A547E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #285396

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

Preview Lab → · Contrast checker → · Palette generator →

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