#285494#285494

#285494 is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.9% C 0.116 H 258.0°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#285494
RGBrgb(40, 84, 148)
HSLhsl(216, 57%, 37%)
HSVhsv(216, 73%, 58%)
CMYKcmyk(73%, 43.2%, 0%, 42%)
CIE-LABlab(35.85, 7.65, -39.64)
CIE-LCHlch(35.85, 40.37, 280.93°)
OKLaboklab(44.91% -0.0242 -0.1133)
OKLCHoklch(44.91% 0.116 258)
XYZxyz(9.3887, 8.9289, 29.2399)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285494 #946828
analogous
#288A94 #285494 #322894
triadic
#285494 #942854 #549428
tetradic
#285494 #94288A #946828 #289432
square
#285494 #94288A #946828 #289432
split-complementary
#285494 #943228 #8A9428
monochromatic
#0E1D34 #1B3964 #285494 #356FC4 #6291D5

Accessibility & contrast

On white

7.54
#285494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285494
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285494#FFFFFF#000000##FFFFFF
##2854941.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355A96
Deuteranopia (green-blind)
#235093
Tritanopia (blue-blind)
#00636C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #285494;
/* rgb */ color: rgb(40, 84, 148);
/* oklch */ color: oklch(44.9% 0.116 258.0);
Tailwind
colors: {
  custom: {
    50: '#7083b4',
    500: '#285494',
    950: '#000000',
  },
}
SCSS
$custom: #285494;
$custom-light: #7083b4;
$custom-dark: #000000;
JSON
{
  "hex": "#285494",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 148
  },
  "hsl": {
    "h": 215.556,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44913,
    "c": 0.11583,
    "h": 258
  },
  "luminance": 0.0893
}

Semantic roles & 50–950 ramp

primary
#285494
secondary
#BA945E
accent
#A247E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #285494

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

Preview Lab → · Contrast checker → · Palette generator →

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