#285795#285795

#285795 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.7% C 0.114 H 256.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#285795
RGBrgb(40, 87, 149)
HSLhsl(214, 58%, 37%)
HSVhsv(214, 73%, 58%)
CMYKcmyk(73.2%, 41.6%, 0%, 41.6%)
CIE-LABlab(36.81, 6.07, -38.71)
CIE-LCHlch(36.81, 39.18, 278.92°)
OKLaboklab(45.68% -0.0268 -0.1105)
OKLCHoklch(45.68% 0.114 256.3)
XYZxyz(9.7061, 9.4364, 29.7378)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285795 #956628
analogous
#288E95 #285795 #2F2895
triadic
#285795 #952857 #579528
tetradic
#285795 #95288E #956628 #28952F
square
#285795 #95288E #956628 #28952F
split-complementary
#285795 #952F28 #8E9528
monochromatic
#0E1F35 #1B3B65 #285795 #3573C5 #6294D5

Accessibility & contrast

On white

7.27
#285795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#285795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285795
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285795#FFFFFF#000000##FFFFFF
##2857951.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5C97
Deuteranopia (green-blind)
#285294
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #285795;
/* rgb */ color: rgb(40, 87, 149);
/* oklch */ color: oklch(45.7% 0.114 256.3);
Tailwind
colors: {
  custom: {
    50: '#7085b4',
    500: '#285795',
    950: '#000000',
  },
}
SCSS
$custom: #285795;
$custom-light: #7085b4;
$custom-dark: #000000;
JSON
{
  "hex": "#285795",
  "rgb": {
    "r": 40,
    "g": 87,
    "b": 149
  },
  "hsl": {
    "h": 214.128,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45681,
    "c": 0.11371,
    "h": 256.3
  },
  "luminance": 0.09437
}

Semantic roles & 50–950 ramp

primary
#285795
secondary
#BB935E
accent
#9E47E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #285795

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

Preview Lab → · Contrast checker → · Palette generator →

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