#285099#285099

#285099 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.3% C 0.128 H 261.3°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#285099
RGBrgb(40, 80, 153)
HSLhsl(219, 59%, 38%)
HSVhsv(219, 74%, 60%)
CMYKcmyk(73.9%, 47.7%, 0%, 40%)
CIE-LABlab(34.98, 12.24, -44.06)
CIE-LCHlch(34.98, 45.73, 285.52°)
OKLaboklab(44.35% -0.0194 -0.1263)
OKLCHoklch(44.35% 0.128 261.3)
XYZxyz(9.4914, 8.4873, 31.2688)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285099 #997128
analogous
#288899 #285099 #382899
triadic
#285099 #992850 #509928
tetradic
#285099 #992888 #997128 #289938
square
#285099 #992888 #997128 #289938
split-complementary
#285099 #993828 #889928
monochromatic
#0F1D38 #1B3768 #285099 #3569CA #658DD7

Accessibility & contrast

On white

7.78
#285099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#285099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285099
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285099#FFFFFF#000000##FFFFFF
##2850991.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29589C
Deuteranopia (green-blind)
#0E4D98
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285099;
/* rgb */ color: rgb(40, 80, 153);
/* oklch */ color: oklch(44.3% 0.128 261.3);
Tailwind
colors: {
  custom: {
    50: '#7180b7',
    500: '#285099',
    950: '#000000',
  },
}
SCSS
$custom: #285099;
$custom-light: #7180b7;
$custom-dark: #000000;
JSON
{
  "hex": "#285099",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 153
  },
  "hsl": {
    "h": 218.761,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44345,
    "c": 0.12783,
    "h": 261.3
  },
  "luminance": 0.08488
}

Semantic roles & 50–950 ramp

primary
#285099
secondary
#BD9C60
accent
#AB46E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #285099

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

Preview Lab → · Contrast checker → · Palette generator →

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