#285594#285594

#285594 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.1% C 0.115 H 257.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#285594
RGBrgb(40, 85, 148)
HSLhsl(215, 57%, 37%)
HSVhsv(215, 73%, 58%)
CMYKcmyk(73%, 42.6%, 0%, 42%)
CIE-LABlab(36.15, 7.00, -39.16)
CIE-LCHlch(36.15, 39.78, 280.13°)
OKLaboklab(45.15% -0.0251 -0.1118)
OKLCHoklch(45.15% 0.115 257.3)
XYZxyz(9.4669, 9.0852, 29.2659)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285594 #946728
analogous
#288B94 #285594 #312894
triadic
#285594 #942855 #559428
tetradic
#285594 #94288B #946728 #289431
square
#285594 #94288B #946728 #289431
split-complementary
#285594 #943128 #8B9428
monochromatic
#0E1E34 #1B3964 #285594 #3571C4 #6292D5

Accessibility & contrast

On white

7.45
#285594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#285594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285594
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285594#FFFFFF#000000##FFFFFF
##2855941.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375A96
Deuteranopia (green-blind)
#255093
Tritanopia (blue-blind)
#00646D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #285594;
/* rgb */ color: rgb(40, 85, 148);
/* oklch */ color: oklch(45.1% 0.115 257.3);
Tailwind
colors: {
  custom: {
    50: '#7084b4',
    500: '#285594',
    950: '#000000',
  },
}
SCSS
$custom: #285594;
$custom-light: #7084b4;
$custom-dark: #000000;
JSON
{
  "hex": "#285594",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 148
  },
  "hsl": {
    "h": 215,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45146,
    "c": 0.11464,
    "h": 257.3
  },
  "luminance": 0.09086
}

Semantic roles & 50–950 ramp

primary
#285594
secondary
#BA945E
accent
#A147E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #285594

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

Preview Lab → · Contrast checker → · Palette generator →

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