#285499#285499

#285499 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.3% C 0.123 H 259.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#285499
RGBrgb(40, 84, 153)
HSLhsl(217, 59%, 38%)
HSVhsv(217, 74%, 60%)
CMYKcmyk(73.9%, 45.1%, 0%, 40%)
CIE-LABlab(36.16, 9.58, -42.16)
CIE-LCHlch(36.16, 43.24, 282.81°)
OKLaboklab(45.25% -0.0231 -0.1207)
OKLCHoklch(45.25% 0.123 259.2)
XYZxyz(9.7931, 9.0906, 31.3694)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285499 #996D28
analogous
#288C99 #285499 #342899
triadic
#285499 #992854 #549928
tetradic
#285499 #99288C #996D28 #289934
square
#285499 #99288C #996D28 #289934
split-complementary
#285499 #993428 #8C9928
monochromatic
#0F1F38 #1B3968 #285499 #356FCA #6591D7

Accessibility & contrast

On white

7.45
#285499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#285499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285499
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285499#FFFFFF#000000##FFFFFF
##2854991.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315B9C
Deuteranopia (green-blind)
#1C5098
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #285499;
/* rgb */ color: rgb(40, 84, 153);
/* oklch */ color: oklch(45.3% 0.123 259.2);
Tailwind
colors: {
  custom: {
    50: '#7183b7',
    500: '#285499',
    950: '#000000',
  },
}
SCSS
$custom: #285499;
$custom-light: #7183b7;
$custom-dark: #000000;
JSON
{
  "hex": "#285499",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 153
  },
  "hsl": {
    "h": 216.637,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45254,
    "c": 0.12289,
    "h": 259.2
  },
  "luminance": 0.09092
}

Semantic roles & 50–950 ramp

primary
#285499
secondary
#BD9960
accent
#A546E2
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #285499

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

Preview Lab → · Contrast checker → · Palette generator →

#285499 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva