#285894#285894

#285894 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.9% C 0.111 H 255.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#285894
RGBrgb(40, 88, 148)
HSLhsl(213, 57%, 37%)
HSVhsv(213, 73%, 58%)
CMYKcmyk(73%, 40.5%, 0%, 42%)
CIE-LABlab(37.05, 5.04, -37.72)
CIE-LCHlch(37.05, 38.05, 277.61°)
OKLaboklab(45.85% -0.0281 -0.1076)
OKLCHoklch(45.85% 0.111 255.4)
XYZxyz(9.7081, 9.5676, 29.3463)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285894 #946428
analogous
#288E94 #285894 #2E2894
triadic
#285894 #942858 #589428
tetradic
#285894 #94288E #946428 #28942E
square
#285894 #94288E #946428 #28942E
split-complementary
#285894 #942E28 #8E9428
monochromatic
#0E1F34 #1B3B64 #285894 #3575C4 #6295D5

Accessibility & contrast

On white

7.21
#285894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#285894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285894
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285894#FFFFFF#000000##FFFFFF
##2858941.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5D96
Deuteranopia (green-blind)
#2B5393
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #285894;
/* rgb */ color: rgb(40, 88, 148);
/* oklch */ color: oklch(45.9% 0.111 255.4);
Tailwind
colors: {
  custom: {
    50: '#7086b4',
    500: '#285894',
    950: '#000000',
  },
}
SCSS
$custom: #285894;
$custom-light: #7086b4;
$custom-dark: #000000;
JSON
{
  "hex": "#285894",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 148
  },
  "hsl": {
    "h": 213.333,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45851,
    "c": 0.11116,
    "h": 255.4
  },
  "luminance": 0.09569
}

Semantic roles & 50–950 ramp

primary
#285894
secondary
#BA915E
accent
#9C47E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #285894

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

Preview Lab → · Contrast checker → · Palette generator →

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