#285E9B#285E9B

#285E9B is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.7% C 0.114 H 253.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#285E9B
RGBrgb(40, 94, 155)
HSLhsl(212, 59%, 38%)
HSVhsv(212, 74%, 61%)
CMYKcmyk(74.2%, 39.4%, 0%, 39.2%)
CIE-LABlab(39.28, 3.85, -38.39)
CIE-LCHlch(39.28, 38.58, 275.72°)
OKLaboklab(47.72% -0.0322 -0.1094)
OKLCHoklch(47.72% 0.114 253.6)
XYZxyz(10.7920, 10.8219, 32.5241)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285E9B #9B6528
analogous
#28979B #285E9B #2B289B
triadic
#285E9B #9B285E #5E9B28
tetradic
#285E9B #9B2897 #9B6528 #289B2B
square
#285E9B #9B2897 #9B6528 #289B2B
split-complementary
#285E9B #9B2B28 #979B28
monochromatic
#0F233A #1B406A #285E9B #357CCB #669BD7

Accessibility & contrast

On white

6.64
#285E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#285E9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285E9B
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285E9B#FFFFFF#000000##FFFFFF
##285E9B1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42629D
Deuteranopia (green-blind)
#30589A
Tritanopia (blue-blind)
#006C75
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #285e9b;
/* rgb */ color: rgb(40, 94, 155);
/* oklch */ color: oklch(47.7% 0.114 253.6);
Tailwind
colors: {
  custom: {
    50: '#728bb9',
    500: '#285e9b',
    950: '#000000',
  },
}
SCSS
$custom: #285e9b;
$custom-light: #728bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#285e9b",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 155
  },
  "hsl": {
    "h": 211.826,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47716,
    "c": 0.11406,
    "h": 253.6
  },
  "luminance": 0.10823
}

Semantic roles & 50–950 ramp

primary
#285E9B
secondary
#BD9261
accent
#9946E2
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #285E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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