#285299#285299

#285299 is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.8% C 0.125 H 260.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#285299
RGBrgb(40, 82, 153)
HSLhsl(218, 59%, 38%)
HSVhsv(218, 74%, 60%)
CMYKcmyk(73.9%, 46.4%, 0%, 40%)
CIE-LABlab(35.57, 10.91, -43.11)
CIE-LCHlch(35.57, 44.47, 284.20°)
OKLaboklab(44.8% -0.0213 -0.1235)
OKLCHoklch(44.8% 0.125 260.2)
XYZxyz(9.6401, 8.7846, 31.3184)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285299 #996F28
analogous
#288A99 #285299 #362899
triadic
#285299 #992852 #529928
tetradic
#285299 #99288A #996F28 #289936
square
#285299 #99288A #996F28 #289936
split-complementary
#285299 #993628 #8A9928
monochromatic
#0F1E38 #1B3868 #285299 #356CCA #658FD7

Accessibility & contrast

On white

7.62
#285299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#285299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285299
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285299#FFFFFF#000000##FFFFFF
##2852991.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599C
Deuteranopia (green-blind)
#164F98
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #285299;
/* rgb */ color: rgb(40, 82, 153);
/* oklch */ color: oklch(44.8% 0.125 260.2);
Tailwind
colors: {
  custom: {
    50: '#7182b7',
    500: '#285299',
    950: '#000000',
  },
}
SCSS
$custom: #285299;
$custom-light: #7182b7;
$custom-dark: #000000;
JSON
{
  "hex": "#285299",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 217.699,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44798,
    "c": 0.12534,
    "h": 260.2
  },
  "luminance": 0.08786
}

Semantic roles & 50–950 ramp

primary
#285299
secondary
#BD9A60
accent
#A846E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #285299

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

Preview Lab → · Contrast checker → · Palette generator →

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