#285096#285096

#285096 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.1% C 0.124 H 260.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#285096
RGBrgb(40, 80, 150)
HSLhsl(218, 58%, 37%)
HSVhsv(218, 73%, 59%)
CMYKcmyk(73.3%, 46.7%, 0%, 41.2%)
CIE-LABlab(34.78, 11.08, -42.56)
CIE-LCHlch(34.78, 43.98, 284.59°)
OKLaboklab(44.13% -0.02 -0.1219)
OKLCHoklch(44.13% 0.124 260.7)
XYZxyz(9.2468, 8.3895, 29.9803)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285096 #966E28
analogous
#288796 #285096 #372896
triadic
#285096 #962850 #509628
tetradic
#285096 #962887 #966E28 #289637
square
#285096 #962887 #966E28 #289637
split-complementary
#285096 #963728 #879628
monochromatic
#0E1C35 #1B3666 #285096 #356AC6 #638DD5

Accessibility & contrast

On white

7.84
#285096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#285096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285096
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285096#FFFFFF#000000##FFFFFF
##2850961.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5799
Deuteranopia (green-blind)
#154D95
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285096;
/* rgb */ color: rgb(40, 80, 150);
/* oklch */ color: oklch(44.1% 0.124 260.7);
Tailwind
colors: {
  custom: {
    50: '#7180b5',
    500: '#285096',
    950: '#000000',
  },
}
SCSS
$custom: #285096;
$custom-light: #7180b5;
$custom-dark: #000000;
JSON
{
  "hex": "#285096",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 150
  },
  "hsl": {
    "h": 218.182,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44131,
    "c": 0.12355,
    "h": 260.7
  },
  "luminance": 0.0839
}

Semantic roles & 50–950 ramp

primary
#285096
secondary
#BB9A5F
accent
#A947E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #285096

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

Preview Lab → · Contrast checker → · Palette generator →

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