#285796#285796

#285796 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.7% C 0.115 H 256.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#285796
RGBrgb(40, 87, 150)
HSLhsl(214, 58%, 37%)
HSVhsv(214, 73%, 59%)
CMYKcmyk(73.3%, 42%, 0%, 41.2%)
CIE-LABlab(36.87, 6.46, -39.22)
CIE-LCHlch(36.87, 39.74, 279.35°)
OKLaboklab(45.75% -0.0266 -0.112)
OKLCHoklch(45.75% 0.115 256.6)
XYZxyz(9.7863, 9.4685, 30.1601)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285796 #966728
analogous
#288E96 #285796 #302896
triadic
#285796 #962857 #579628
tetradic
#285796 #96288E #966728 #289630
square
#285796 #96288E #966728 #289630
split-complementary
#285796 #963028 #8E9628
monochromatic
#0E1F35 #1B3B66 #285796 #3573C6 #6394D5

Accessibility & contrast

On white

7.26
#285796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285796
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285796#FFFFFF#000000##FFFFFF
##2857961.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395C98
Deuteranopia (green-blind)
#275295
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #285796;
/* rgb */ color: rgb(40, 87, 150);
/* oklch */ color: oklch(45.7% 0.115 256.6);
Tailwind
colors: {
  custom: {
    50: '#7185b5',
    500: '#285796',
    950: '#000000',
  },
}
SCSS
$custom: #285796;
$custom-light: #7185b5;
$custom-dark: #000000;
JSON
{
  "hex": "#285796",
  "rgb": {
    "r": 40,
    "g": 87,
    "b": 150
  },
  "hsl": {
    "h": 214.364,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45747,
    "c": 0.1151,
    "h": 256.6
  },
  "luminance": 0.0947
}

Semantic roles & 50–950 ramp

primary
#285796
secondary
#BB945F
accent
#9F47E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #285796

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

Preview Lab → · Contrast checker → · Palette generator →

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