#285495#285495

#285495 is a dark, moderate blue. Relative luminance 0.090; OKLCH L 45.0% C 0.117 H 258.2°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#285495
RGBrgb(40, 84, 149)
HSLhsl(216, 58%, 37%)
HSVhsv(216, 73%, 58%)
CMYKcmyk(73.2%, 43.6%, 0%, 41.6%)
CIE-LABlab(35.91, 8.04, -40.15)
CIE-LCHlch(35.91, 40.95, 281.32°)
OKLaboklab(44.98% -0.0239 -0.1148)
OKLCHoklch(44.98% 0.117 258.2)
XYZxyz(9.4682, 8.9607, 29.6585)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285495 #956928
analogous
#288B95 #285495 #332895
triadic
#285495 #952854 #549528
tetradic
#285495 #95288B #956928 #289533
square
#285495 #95288B #956928 #289533
split-complementary
#285495 #953328 #8B9528
monochromatic
#0E1E35 #1B3965 #285495 #356FC5 #6291D5

Accessibility & contrast

On white

7.52
#285495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#285495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285495
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285495#FFFFFF#000000##FFFFFF
##2854951.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355A98
Deuteranopia (green-blind)
#215094
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #285495;
/* rgb */ color: rgb(40, 84, 149);
/* oklch */ color: oklch(45.0% 0.117 258.2);
Tailwind
colors: {
  custom: {
    50: '#7083b4',
    500: '#285495',
    950: '#000000',
  },
}
SCSS
$custom: #285495;
$custom-light: #7083b4;
$custom-dark: #000000;
JSON
{
  "hex": "#285495",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 149
  },
  "hsl": {
    "h": 215.78,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44981,
    "c": 0.11724,
    "h": 258.2
  },
  "luminance": 0.08962
}

Semantic roles & 50–950 ramp

primary
#285495
secondary
#BB955E
accent
#A347E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #285495

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

Preview Lab → · Contrast checker → · Palette generator →

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