#285395#285395

#285395 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.7% C 0.118 H 258.8°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#285395
RGBrgb(40, 83, 149)
HSLhsl(216, 58%, 37%)
HSVhsv(216, 73%, 58%)
CMYKcmyk(73.2%, 44.3%, 0%, 41.6%)
CIE-LABlab(35.61, 8.70, -40.63)
CIE-LCHlch(35.61, 41.55, 282.09°)
OKLaboklab(44.75% -0.023 -0.1162)
OKLCHoklch(44.75% 0.118 258.8)
XYZxyz(9.3912, 8.8065, 29.6328)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285395 #956A28
analogous
#288A95 #285395 #332895
triadic
#285395 #952853 #539528
tetradic
#285395 #95288A #956A28 #289533
square
#285395 #95288A #956A28 #289533
split-complementary
#285395 #953328 #8A9528
monochromatic
#0E1D35 #1B3865 #285395 #356EC5 #6290D5

Accessibility & contrast

On white

7.60
#285395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#285395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285395
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285395#FFFFFF#000000##FFFFFF
##2853951.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335998
Deuteranopia (green-blind)
#1F4F94
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #285395;
/* rgb */ color: rgb(40, 83, 149);
/* oklch */ color: oklch(44.7% 0.118 258.8);
Tailwind
colors: {
  custom: {
    50: '#7082b4',
    500: '#285395',
    950: '#000000',
  },
}
SCSS
$custom: #285395;
$custom-light: #7082b4;
$custom-dark: #000000;
JSON
{
  "hex": "#285395",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 149
  },
  "hsl": {
    "h": 216.33,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44749,
    "c": 0.11844,
    "h": 258.8
  },
  "luminance": 0.08808
}

Semantic roles & 50–950 ramp

primary
#285395
secondary
#BB965E
accent
#A447E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #285395

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

Preview Lab → · Contrast checker → · Palette generator →

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