#285091#285091

#285091 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.8% C 0.116 H 259.7°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#285091
RGBrgb(40, 80, 145)
HSLhsl(217, 57%, 36%)
HSVhsv(217, 72%, 57%)
CMYKcmyk(72.4%, 44.8%, 0%, 43.1%)
CIE-LABlab(34.46, 9.14, -40.04)
CIE-LCHlch(34.46, 41.07, 282.86°)
OKLaboklab(43.78% -0.0209 -0.1145)
OKLCHoklch(43.78% 0.116 259.7)
XYZxyz(8.8527, 8.2318, 27.9049)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285091 #916928
analogous
#288591 #285091 #352891
triadic
#285091 #912850 #509128
tetradic
#285091 #912885 #916928 #289135
square
#285091 #912885 #916928 #289135
split-complementary
#285091 #913528 #859128
monochromatic
#0E1B31 #1B3661 #285091 #356AC1 #608CD3

Accessibility & contrast

On white

7.93
#285091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#285091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285091
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285091#FFFFFF#000000##FFFFFF
##2850911.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305693
Deuteranopia (green-blind)
#1D4D90
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285091;
/* rgb */ color: rgb(40, 80, 145);
/* oklch */ color: oklch(43.8% 0.116 259.7);
Tailwind
colors: {
  custom: {
    50: '#7080b2',
    500: '#285091',
    950: '#000000',
  },
}
SCSS
$custom: #285091;
$custom-light: #7080b2;
$custom-dark: #000000;
JSON
{
  "hex": "#285091",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 145
  },
  "hsl": {
    "h": 217.143,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43781,
    "c": 0.1164,
    "h": 259.7
  },
  "luminance": 0.08233
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #285091

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

Preview Lab → · Contrast checker → · Palette generator →

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