#285193#285193

#285193 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.1% C 0.118 H 259.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#285193
RGBrgb(40, 81, 147)
HSLhsl(217, 57%, 37%)
HSVhsv(217, 73%, 58%)
CMYKcmyk(72.8%, 44.9%, 0%, 42.4%)
CIE-LABlab(34.89, 9.25, -40.57)
CIE-LCHlch(34.89, 41.61, 282.84°)
OKLaboklab(44.15% -0.0215 -0.1161)
OKLCHoklch(44.15% 0.118 259.5)
XYZxyz(9.0821, 8.4416, 28.7489)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285193 #936A28
analogous
#288793 #285193 #352893
triadic
#285193 #932851 #519328
tetradic
#285193 #932887 #936A28 #289335
square
#285193 #932887 #936A28 #289335
split-complementary
#285193 #933528 #879328
monochromatic
#0E1C33 #1B3663 #285193 #356CC3 #618DD4

Accessibility & contrast

On white

7.81
#285193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#285193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285193
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285193#FFFFFF#000000##FFFFFF
##2851931.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305796
Deuteranopia (green-blind)
#1D4D92
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285193;
/* rgb */ color: rgb(40, 81, 147);
/* oklch */ color: oklch(44.1% 0.118 259.5);
Tailwind
colors: {
  custom: {
    50: '#7081b3',
    500: '#285193',
    950: '#000000',
  },
}
SCSS
$custom: #285193;
$custom-light: #7081b3;
$custom-dark: #000000;
JSON
{
  "hex": "#285193",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 147
  },
  "hsl": {
    "h": 217.009,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4415,
    "c": 0.11804,
    "h": 259.5
  },
  "luminance": 0.08443
}

Semantic roles & 50–950 ramp

primary
#285193
secondary
#BA965D
accent
#A647E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #285193

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

Preview Lab → · Contrast checker → · Palette generator →

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