#285174#285174

#285174 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.2% C 0.075 H 246.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#285174
RGBrgb(40, 81, 116)
HSLhsl(208, 49%, 31%)
HSVhsv(208, 66%, 45%)
CMYKcmyk(65.5%, 30.2%, 0%, 54.5%)
CIE-LABlab(33.13, -2.49, -24.28)
CIE-LCHlch(33.13, 24.41, 264.15°)
OKLaboklab(42.21% -0.0297 -0.0684)
OKLCHoklch(42.21% 0.075 246.5)
XYZxyz(6.9687, 7.5963, 17.6186)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285174 #744B28
analogous
#287471 #285174 #282B74
triadic
#285174 #742851 #517428
tetradic
#285174 #712874 #744B28 #2B7428
square
#285174 #712874 #744B28 #2B7428
split-complementary
#285174 #74282B #747128
monochromatic
#091119 #183146 #285174 #3871A2 #5390C4

Accessibility & contrast

On white

8.34
#285174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#285174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285174
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285174#FFFFFF#000000##FFFFFF
##2851741.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425276
Deuteranopia (green-blind)
#374B73
Tritanopia (blue-blind)
#00595D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #285174;
/* rgb */ color: rgb(40, 81, 116);
/* oklch */ color: oklch(42.2% 0.075 246.5);
Tailwind
colors: {
  custom: {
    50: '#6a819c',
    500: '#285174',
    950: '#000000',
  },
}
SCSS
$custom: #285174;
$custom-light: #6a819c;
$custom-dark: #000000;
JSON
{
  "hex": "#285174",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 116
  },
  "hsl": {
    "h": 207.632,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42205,
    "c": 0.07461,
    "h": 246.5
  },
  "luminance": 0.07597
}

Semantic roles & 50–950 ramp

primary
#285174
secondary
#A67952
accent
#8F50D8
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #285174

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

Preview Lab → · Contrast checker → · Palette generator →

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