#285A95#285A95

#285A95 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.4% C 0.110 H 254.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#285A95
RGBrgb(40, 90, 149)
HSLhsl(212, 58%, 37%)
HSVhsv(212, 73%, 58%)
CMYKcmyk(73.2%, 39.6%, 0%, 41.6%)
CIE-LABlab(37.72, 4.13, -37.26)
CIE-LCHlch(37.72, 37.49, 276.32°)
OKLaboklab(46.39% -0.0298 -0.1062)
OKLCHoklch(46.39% 0.11 254.3)
XYZxyz(9.9540, 9.9323, 29.8205)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285A95 #956328
analogous
#289195 #285A95 #2D2895
triadic
#285A95 #95285A #5A9528
tetradic
#285A95 #952891 #956328 #28952D
square
#285A95 #952891 #956328 #28952D
split-complementary
#285A95 #952D28 #919528
monochromatic
#0E2035 #1B3D65 #285A95 #3577C5 #6297D5

Accessibility & contrast

On white

7.03
#285A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#285A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285A95
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285A95#FFFFFF#000000##FFFFFF
##285A951.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5E97
Deuteranopia (green-blind)
#2E5494
Tritanopia (blue-blind)
#006870
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #285a95;
/* rgb */ color: rgb(40, 90, 149);
/* oklch */ color: oklch(46.4% 0.110 254.3);
Tailwind
colors: {
  custom: {
    50: '#7088b4',
    500: '#285a95',
    950: '#000000',
  },
}
SCSS
$custom: #285a95;
$custom-light: #7088b4;
$custom-dark: #000000;
JSON
{
  "hex": "#285a95",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 149
  },
  "hsl": {
    "h": 212.477,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46389,
    "c": 0.11029,
    "h": 254.3
  },
  "luminance": 0.09933
}

Semantic roles & 50–950 ramp

primary
#285A95
secondary
#BB905E
accent
#9A47E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #285A95

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

Preview Lab → · Contrast checker → · Palette generator →

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