#285791#285791

#285791 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.4% C 0.108 H 255.1°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#285791
RGBrgb(40, 87, 145)
HSLhsl(213, 57%, 36%)
HSVhsv(213, 72%, 57%)
CMYKcmyk(72.4%, 40%, 0%, 43.1%)
CIE-LABlab(36.58, 4.54, -36.66)
CIE-LCHlch(36.58, 36.94, 277.06°)
OKLaboklab(45.42% -0.0278 -0.1045)
OKLCHoklch(45.42% 0.108 255.1)
XYZxyz(9.3922, 9.3108, 28.0848)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285791 #916228
analogous
#288C91 #285791 #2E2891
triadic
#285791 #912857 #579128
tetradic
#285791 #91288C #916228 #28912E
square
#285791 #91288C #916228 #28912E
split-complementary
#285791 #912E28 #8C9128
monochromatic
#0E1D31 #1B3A61 #285791 #3574C1 #6094D3

Accessibility & contrast

On white

7.34
#285791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#285791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285791
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285791#FFFFFF#000000##FFFFFF
##2857911.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5B93
Deuteranopia (green-blind)
#2C5290
Tritanopia (blue-blind)
#00656D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #285791;
/* rgb */ color: rgb(40, 87, 145);
/* oklch */ color: oklch(45.4% 0.108 255.1);
Tailwind
colors: {
  custom: {
    50: '#6f86b1',
    500: '#285791',
    950: '#000000',
  },
}
SCSS
$custom: #285791;
$custom-light: #6f86b1;
$custom-dark: #000000;
JSON
{
  "hex": "#285791",
  "rgb": {
    "r": 40,
    "g": 87,
    "b": 145
  },
  "hsl": {
    "h": 213.143,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45421,
    "c": 0.10812,
    "h": 255.1
  },
  "luminance": 0.09312
}

Semantic roles & 50–950 ramp

primary
#285791
secondary
#B98F5C
accent
#9C48E0
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #285791

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

Preview Lab → · Contrast checker → · Palette generator →

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