#285296#285296

#285296 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.6% C 0.121 H 259.6°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#285296
RGBrgb(40, 82, 150)
HSLhsl(217, 58%, 37%)
HSVhsv(217, 73%, 59%)
CMYKcmyk(73.3%, 45.3%, 0%, 41.2%)
CIE-LABlab(35.37, 9.75, -41.61)
CIE-LCHlch(35.37, 42.74, 283.18°)
OKLaboklab(44.59% -0.0218 -0.1191)
OKLCHoklch(44.59% 0.121 259.6)
XYZxyz(9.3954, 8.6867, 30.0298)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285296 #966C28
analogous
#288996 #285296 #352896
triadic
#285296 #962852 #529628
tetradic
#285296 #962889 #966C28 #289635
square
#285296 #962889 #966C28 #289635
split-complementary
#285296 #963528 #899628
monochromatic
#0E1D35 #1B3866 #285296 #356CC6 #638FD5

Accessibility & contrast

On white

7.67
#285296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#285296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285296
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285296#FFFFFF#000000##FFFFFF
##2852961.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305999
Deuteranopia (green-blind)
#1B4E95
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #285296;
/* rgb */ color: rgb(40, 82, 150);
/* oklch */ color: oklch(44.6% 0.121 259.6);
Tailwind
colors: {
  custom: {
    50: '#7182b5',
    500: '#285296',
    950: '#000000',
  },
}
SCSS
$custom: #285296;
$custom-light: #7182b5;
$custom-dark: #000000;
JSON
{
  "hex": "#285296",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 217.091,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44588,
    "c": 0.12109,
    "h": 259.6
  },
  "luminance": 0.08688
}

Semantic roles & 50–950 ramp

primary
#285296
secondary
#BB985F
accent
#A647E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #285296

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

Preview Lab → · Contrast checker → · Palette generator →

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