#285199#285199

#285199 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.127 H 260.7°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#285199
RGBrgb(40, 81, 153)
HSLhsl(218, 59%, 38%)
HSVhsv(218, 74%, 60%)
CMYKcmyk(73.9%, 47.1%, 0%, 40%)
CIE-LABlab(35.27, 11.57, -43.59)
CIE-LCHlch(35.27, 45.10, 284.87°)
OKLaboklab(44.57% -0.0204 -0.1249)
OKLCHoklch(44.57% 0.127 260.7)
XYZxyz(9.5652, 8.6348, 31.2934)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285199 #997028
analogous
#288999 #285199 #372899
triadic
#285199 #992851 #519928
tetradic
#285199 #992889 #997028 #289937
square
#285199 #992889 #997028 #289937
split-complementary
#285199 #993728 #899928
monochromatic
#0F1E38 #1B3768 #285199 #356BCA #658ED7

Accessibility & contrast

On white

7.70
#285199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#285199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285199
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285199#FFFFFF#000000##FFFFFF
##2851991.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589C
Deuteranopia (green-blind)
#124E98
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #285199;
/* rgb */ color: rgb(40, 81, 153);
/* oklch */ color: oklch(44.6% 0.127 260.7);
Tailwind
colors: {
  custom: {
    50: '#7181b7',
    500: '#285199',
    950: '#000000',
  },
}
SCSS
$custom: #285199;
$custom-light: #7181b7;
$custom-dark: #000000;
JSON
{
  "hex": "#285199",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 153
  },
  "hsl": {
    "h": 218.23,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44571,
    "c": 0.12658,
    "h": 260.7
  },
  "luminance": 0.08636
}

Semantic roles & 50–950 ramp

primary
#285199
secondary
#BD9B60
accent
#A946E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #285199

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

Preview Lab → · Contrast checker → · Palette generator →

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