#285FA2#285FA2

#285FA2 is a mid, vivid cyan. Relative luminance 0.112; OKLCH L 48.4% C 0.122 H 255.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#285FA2
RGBrgb(40, 95, 162)
HSLhsl(213, 60%, 40%)
HSVhsv(213, 75%, 64%)
CMYKcmyk(75.3%, 41.4%, 0%, 36.5%)
CIE-LABlab(39.99, 5.88, -41.43)
CIE-LCHlch(39.99, 41.85, 278.08°)
OKLaboklab(48.4% -0.0315 -0.1183)
OKLCHoklch(48.4% 0.122 255.1)
XYZxyz(11.4865, 11.2429, 35.7401)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285FA2 #A26B28
analogous
#289CA2 #285FA2 #2E28A2
triadic
#285FA2 #A2285F #5FA228
tetradic
#285FA2 #A2289C #A26B28 #28A22E
square
#285FA2 #A2289C #A26B28 #28A22E
split-complementary
#285FA2 #A22E28 #9CA228
monochromatic
#102540 #1C4271 #285FA2 #397CCE #6A9DDA

Accessibility & contrast

On white

6.46
#285FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#285FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285FA2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285FA2#FFFFFF#000000##FFFFFF
##285FA21.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A5
Deuteranopia (green-blind)
#2B59A1
Tritanopia (blue-blind)
#006F78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #285fa2;
/* rgb */ color: rgb(40, 95, 162);
/* oklch */ color: oklch(48.4% 0.122 255.1);
Tailwind
colors: {
  custom: {
    50: '#738bbe',
    500: '#285fa2',
    950: '#000000',
  },
}
SCSS
$custom: #285fa2;
$custom-light: #738bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#285fa2",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 212.951,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.484,
    "c": 0.12246,
    "h": 255.1
  },
  "luminance": 0.11244
}

Semantic roles & 50–950 ramp

primary
#285FA2
secondary
#C19765
accent
#9C44E4
background
#F7F8FB
surface
#EDF0F7
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #285FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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