#285394#285394

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

Color values

HEX#285394
RGBrgb(40, 83, 148)
HSLhsl(216, 57%, 37%)
HSVhsv(216, 73%, 58%)
CMYKcmyk(73%, 43.9%, 0%, 42%)
CIE-LABlab(35.55, 8.31, -40.12)
CIE-LCHlch(35.55, 40.97, 281.71°)
OKLaboklab(44.68% -0.0232 -0.1147)
OKLCHoklch(44.68% 0.117 258.6)
XYZxyz(9.3117, 8.7747, 29.2142)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285394 #946928
analogous
#288994 #285394 #332894
triadic
#285394 #942853 #539428
tetradic
#285394 #942889 #946928 #289433
square
#285394 #942889 #946928 #289433
split-complementary
#285394 #943328 #899428
monochromatic
#0E1D34 #1B3864 #285394 #356EC4 #6290D5

Accessibility & contrast

On white

7.62
#285394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285394
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285394#FFFFFF#000000##FFFFFF
##2853941.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335997
Deuteranopia (green-blind)
#204F93
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #285394;
/* rgb */ color: rgb(40, 83, 148);
/* oklch */ color: oklch(44.7% 0.117 258.6);
Tailwind
colors: {
  custom: {
    50: '#7082b4',
    500: '#285394',
    950: '#000000',
  },
}
SCSS
$custom: #285394;
$custom-light: #7082b4;
$custom-dark: #000000;
JSON
{
  "hex": "#285394",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 148
  },
  "hsl": {
    "h": 216.111,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44681,
    "c": 0.11703,
    "h": 258.6
  },
  "luminance": 0.08776
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #285394

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

Preview Lab → · Contrast checker → · Palette generator →

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