#285398#285398

#285398 is a dark, vivid blue. Relative luminance 0.089; OKLCH L 45.0% C 0.123 H 259.5°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#285398
RGBrgb(40, 83, 152)
HSLhsl(217, 58%, 38%)
HSVhsv(217, 74%, 60%)
CMYKcmyk(73.7%, 45.4%, 0%, 40.4%)
CIE-LABlab(35.80, 9.86, -42.14)
CIE-LCHlch(35.80, 43.28, 283.17°)
OKLaboklab(44.96% -0.0224 -0.1206)
OKLCHoklch(44.96% 0.123 259.5)
XYZxyz(9.6338, 8.9036, 30.9105)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285398 #986D28
analogous
#288B98 #285398 #352898
triadic
#285398 #982853 #539828
tetradic
#285398 #98288B #986D28 #289835
square
#285398 #98288B #986D28 #289835
split-complementary
#285398 #983528 #8B9828
monochromatic
#0F1E37 #1B3968 #285398 #356DC8 #6490D6

Accessibility & contrast

On white

7.55
#285398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#285398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285398
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285398#FFFFFF#000000##FFFFFF
##2853981.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9B
Deuteranopia (green-blind)
#1B4F97
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #285398;
/* rgb */ color: rgb(40, 83, 152);
/* oklch */ color: oklch(45.0% 0.123 259.5);
Tailwind
colors: {
  custom: {
    50: '#7182b7',
    500: '#285398',
    950: '#000000',
  },
}
SCSS
$custom: #285398;
$custom-light: #7182b7;
$custom-dark: #000000;
JSON
{
  "hex": "#285398",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 152
  },
  "hsl": {
    "h": 216.964,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44956,
    "c": 0.1227,
    "h": 259.5
  },
  "luminance": 0.08905
}

Semantic roles & 50–950 ramp

primary
#285398
secondary
#BC9960
accent
#A646E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #285398

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

Preview Lab → · Contrast checker → · Palette generator →

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