#285D9B#285D9B

#285D9B is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.5% C 0.115 H 254.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#285D9B
RGBrgb(40, 93, 155)
HSLhsl(212, 59%, 38%)
HSVhsv(212, 74%, 61%)
CMYKcmyk(74.2%, 40%, 0%, 39.2%)
CIE-LABlab(38.98, 4.49, -38.87)
CIE-LCHlch(38.98, 39.12, 276.58°)
OKLaboklab(47.48% -0.0312 -0.1108)
OKLCHoklch(47.48% 0.115 254.3)
XYZxyz(10.7036, 10.6452, 32.4946)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285D9B #9B6628
analogous
#28969B #285D9B #2D289B
triadic
#285D9B #9B285D #5D9B28
tetradic
#285D9B #9B2896 #9B6628 #289B2D
square
#285D9B #9B2896 #9B6628 #289B2D
split-complementary
#285D9B #9B2D28 #969B28
monochromatic
#0F233A #1B406A #285D9B #357ACB #669AD7

Accessibility & contrast

On white

6.71
#285D9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#285D9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285D9B
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285D9B#FFFFFF#000000##FFFFFF
##285D9B1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40629D
Deuteranopia (green-blind)
#2E579A
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #285d9b;
/* rgb */ color: rgb(40, 93, 155);
/* oklch */ color: oklch(47.5% 0.115 254.3);
Tailwind
colors: {
  custom: {
    50: '#728ab9',
    500: '#285d9b',
    950: '#000000',
  },
}
SCSS
$custom: #285d9b;
$custom-light: #728ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#285d9b",
  "rgb": {
    "r": 40,
    "g": 93,
    "b": 155
  },
  "hsl": {
    "h": 212.348,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4748,
    "c": 0.11517,
    "h": 254.3
  },
  "luminance": 0.10646
}

Semantic roles & 50–950 ramp

primary
#285D9B
secondary
#BD9361
accent
#9A46E2
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #285D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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