#285195#285195

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

Color values

HEX#285195
RGBrgb(40, 81, 149)
HSLhsl(217, 58%, 37%)
HSVhsv(217, 73%, 58%)
CMYKcmyk(73.2%, 45.6%, 0%, 41.6%)
CIE-LABlab(35.01, 10.02, -41.58)
CIE-LCHlch(35.01, 42.77, 283.55°)
OKLaboklab(44.29% -0.0211 -0.119)
OKLCHoklch(44.29% 0.121 260)
XYZxyz(9.2404, 8.5049, 29.5826)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285195 #956C28
analogous
#288895 #285195 #352895
triadic
#285195 #952851 #519528
tetradic
#285195 #952888 #956C28 #289535
square
#285195 #952888 #956C28 #289535
split-complementary
#285195 #953528 #889528
monochromatic
#0E1D35 #1B3765 #285195 #356BC5 #628ED5

Accessibility & contrast

On white

7.77
#285195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285195
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285195#FFFFFF#000000##FFFFFF
##2851951.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5898
Deuteranopia (green-blind)
#1A4E94
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285195;
/* rgb */ color: rgb(40, 81, 149);
/* oklch */ color: oklch(44.3% 0.121 260.0);
Tailwind
colors: {
  custom: {
    50: '#7081b4',
    500: '#285195',
    950: '#000000',
  },
}
SCSS
$custom: #285195;
$custom-light: #7081b4;
$custom-dark: #000000;
JSON
{
  "hex": "#285195",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 149
  },
  "hsl": {
    "h": 217.431,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44289,
    "c": 0.12088,
    "h": 260
  },
  "luminance": 0.08506
}

Semantic roles & 50–950 ramp

primary
#285195
secondary
#BB985E
accent
#A747E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #285195

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

Preview Lab → · Contrast checker → · Palette generator →

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