#285397#285397

#285397 is a dark, vivid blue. Relative luminance 0.089; OKLCH L 44.9% C 0.121 H 259.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#285397
RGBrgb(40, 83, 151)
HSLhsl(217, 58%, 37%)
HSVhsv(217, 74%, 59%)
CMYKcmyk(73.5%, 45%, 0%, 40.8%)
CIE-LABlab(35.73, 9.47, -41.64)
CIE-LCHlch(35.73, 42.70, 282.81°)
OKLaboklab(44.89% -0.0226 -0.1192)
OKLCHoklch(44.89% 0.121 259.3)
XYZxyz(9.5522, 8.8710, 30.4810)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285397 #976C28
analogous
#288A97 #285397 #352897
triadic
#285397 #972853 #539728
tetradic
#285397 #97288A #976C28 #289735
square
#285397 #97288A #976C28 #289735
split-complementary
#285397 #973528 #8A9728
monochromatic
#0E1E36 #1B3867 #285397 #356EC7 #6490D6

Accessibility & contrast

On white

7.57
#285397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285397
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285397#FFFFFF#000000##FFFFFF
##2853971.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9A
Deuteranopia (green-blind)
#1C4F96
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #285397;
/* rgb */ color: rgb(40, 83, 151);
/* oklch */ color: oklch(44.9% 0.121 259.3);
Tailwind
colors: {
  custom: {
    50: '#7182b6',
    500: '#285397',
    950: '#000000',
  },
}
SCSS
$custom: #285397;
$custom-light: #7182b6;
$custom-dark: #000000;
JSON
{
  "hex": "#285397",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 216.757,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44887,
    "c": 0.12128,
    "h": 259.3
  },
  "luminance": 0.08872
}

Semantic roles & 50–950 ramp

primary
#285397
secondary
#BC985F
accent
#A546E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #285397

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

Preview Lab → · Contrast checker → · Palette generator →

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