#285192#285192

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

Color values

HEX#285192
RGBrgb(40, 81, 146)
HSLhsl(217, 57%, 36%)
HSVhsv(217, 73%, 57%)
CMYKcmyk(72.6%, 44.5%, 0%, 42.7%)
CIE-LABlab(34.82, 8.86, -40.07)
CIE-LCHlch(34.82, 41.03, 282.48°)
OKLaboklab(44.08% -0.0217 -0.1146)
OKLCHoklch(44.08% 0.117 259.3)
XYZxyz(9.0039, 8.4103, 28.3374)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285192 #926928
analogous
#288692 #285192 #342892
triadic
#285192 #922851 #519228
tetradic
#285192 #922886 #926928 #289234
square
#285192 #922886 #926928 #289234
split-complementary
#285192 #923428 #869228
monochromatic
#0E1C32 #1B3662 #285192 #356CC2 #618DD4

Accessibility & contrast

On white

7.83
#285192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#285192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285192
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285192#FFFFFF#000000##FFFFFF
##2851921.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315795
Deuteranopia (green-blind)
#1E4D91
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285192;
/* rgb */ color: rgb(40, 81, 146);
/* oklch */ color: oklch(44.1% 0.117 259.3);
Tailwind
colors: {
  custom: {
    50: '#7081b2',
    500: '#285192',
    950: '#000000',
  },
}
SCSS
$custom: #285192;
$custom-light: #7081b2;
$custom-dark: #000000;
JSON
{
  "hex": "#285192",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 146
  },
  "hsl": {
    "h": 216.792,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44081,
    "c": 0.11661,
    "h": 259.3
  },
  "luminance": 0.08411
}

Semantic roles & 50–950 ramp

primary
#285192
secondary
#B9955D
accent
#A548E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #285192

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

Preview Lab → · Contrast checker → · Palette generator →

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