#285190#285190

#285190 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 43.9% C 0.114 H 258.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#285190
RGBrgb(40, 81, 144)
HSLhsl(216, 57%, 36%)
HSVhsv(216, 72%, 56%)
CMYKcmyk(72.2%, 43.8%, 0%, 43.5%)
CIE-LABlab(34.70, 8.09, -39.05)
CIE-LCHlch(34.70, 39.88, 281.71°)
OKLaboklab(43.94% -0.0221 -0.1116)
OKLCHoklch(43.94% 0.114 258.8)
XYZxyz(8.8497, 8.3487, 27.5252)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285190 #906728
analogous
#288590 #285190 #332890
triadic
#285190 #902851 #519028
tetradic
#285190 #902885 #906728 #289033
square
#285190 #902885 #906728 #289033
split-complementary
#285190 #903328 #859028
monochromatic
#0D1B30 #1B3660 #285190 #356CC0 #608DD3

Accessibility & contrast

On white

7.87
#285190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#285190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285190
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285190#FFFFFF#000000##FFFFFF
##2851901.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335792
Deuteranopia (green-blind)
#214D8F
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285190;
/* rgb */ color: rgb(40, 81, 144);
/* oklch */ color: oklch(43.9% 0.114 258.8);
Tailwind
colors: {
  custom: {
    50: '#6f81b1',
    500: '#285190',
    950: '#000000',
  },
}
SCSS
$custom: #285190;
$custom-light: #6f81b1;
$custom-dark: #000000;
JSON
{
  "hex": "#285190",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 144
  },
  "hsl": {
    "h": 216.346,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43944,
    "c": 0.11375,
    "h": 258.8
  },
  "luminance": 0.0835
}

Semantic roles & 50–950 ramp

primary
#285190
secondary
#B8945C
accent
#A448E0
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #285190

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

Preview Lab → · Contrast checker → · Palette generator →

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