#285D7E#285D7E

#285D7E is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 45.8% C 0.078 H 239.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#285D7E
RGBrgb(40, 93, 126)
HSLhsl(203, 52%, 33%)
HSVhsv(203, 68%, 49%)
CMYKcmyk(68.3%, 26.2%, 0%, 50.6%)
CIE-LABlab(37.45, -6.34, -23.71)
CIE-LCHlch(37.45, 24.54, 255.03°)
OKLaboklab(45.79% -0.04 -0.0667)
OKLCHoklch(45.79% 0.078 239)
XYZxyz(8.5539, 9.7853, 21.1726)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285D7E #7E4928
analogous
#287E74 #285D7E #28327E
triadic
#285D7E #7E285D #5D7E28
tetradic
#285D7E #74287E #7E4928 #327E28
square
#285D7E #74287E #7E4928 #327E28
split-complementary
#285D7E #7E2832 #7E7428
monochromatic
#0B1821 #193B50 #285D7E #377FAC #579ECA

Accessibility & contrast

On white

7.10
#285D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#285D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285D7E
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285D7E#FFFFFF#000000##FFFFFF
##285D7E1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5D80
Deuteranopia (green-blind)
#42547D
Tritanopia (blue-blind)
#006568
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #285d7e;
/* rgb */ color: rgb(40, 93, 126);
/* oklch */ color: oklch(45.8% 0.078 239.0);
Tailwind
colors: {
  custom: {
    50: '#6c8aa3',
    500: '#285d7e',
    950: '#000000',
  },
}
SCSS
$custom: #285d7e;
$custom-light: #6c8aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#285d7e",
  "rgb": {
    "r": 40,
    "g": 93,
    "b": 126
  },
  "hsl": {
    "h": 203.023,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45786,
    "c": 0.07775,
    "h": 239
  },
  "luminance": 0.09786
}

Semantic roles & 50–950 ramp

primary
#285D7E
secondary
#AF7653
accent
#834DDB
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #285D7E

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

Preview Lab → · Contrast checker → · Palette generator →

#285D7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva