#285191#285191

#285191 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.0% C 0.115 H 259.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#285191
RGBrgb(40, 81, 145)
HSLhsl(217, 57%, 36%)
HSVhsv(217, 72%, 57%)
CMYKcmyk(72.4%, 44.1%, 0%, 43.1%)
CIE-LABlab(34.76, 8.48, -39.56)
CIE-LCHlch(34.76, 40.46, 282.10°)
OKLaboklab(44.01% -0.0219 -0.1131)
OKLCHoklch(44.01% 0.115 259.1)
XYZxyz(8.9265, 8.3794, 27.9295)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285191 #916828
analogous
#288691 #285191 #332891
triadic
#285191 #912851 #519128
tetradic
#285191 #912886 #916828 #289133
square
#285191 #912886 #916828 #289133
split-complementary
#285191 #913328 #869128
monochromatic
#0E1B31 #1B3661 #285191 #356CC1 #608DD3

Accessibility & contrast

On white

7.85
#285191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#285191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285191
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285191#FFFFFF#000000##FFFFFF
##2851911.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325793
Deuteranopia (green-blind)
#1F4D90
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285191;
/* rgb */ color: rgb(40, 81, 145);
/* oklch */ color: oklch(44.0% 0.115 259.1);
Tailwind
colors: {
  custom: {
    50: '#7081b2',
    500: '#285191',
    950: '#000000',
  },
}
SCSS
$custom: #285191;
$custom-light: #7081b2;
$custom-dark: #000000;
JSON
{
  "hex": "#285191",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 145
  },
  "hsl": {
    "h": 216.571,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44012,
    "c": 0.11518,
    "h": 259.1
  },
  "luminance": 0.0838
}

Semantic roles & 50–950 ramp

primary
#285191
secondary
#B9955C
accent
#A548E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #285191

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

Preview Lab → · Contrast checker → · Palette generator →

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