#285194#285194

#285194 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.2% C 0.119 H 259.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#285194
RGBrgb(40, 81, 148)
HSLhsl(217, 57%, 37%)
HSVhsv(217, 73%, 58%)
CMYKcmyk(73%, 45.3%, 0%, 42%)
CIE-LABlab(34.95, 9.64, -41.08)
CIE-LCHlch(34.95, 42.19, 283.20°)
OKLaboklab(44.22% -0.0213 -0.1175)
OKLCHoklch(44.22% 0.119 259.7)
XYZxyz(9.1609, 8.4731, 29.1639)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285194 #946B28
analogous
#288794 #285194 #352894
triadic
#285194 #942851 #519428
tetradic
#285194 #942887 #946B28 #289435
square
#285194 #942887 #946B28 #289435
split-complementary
#285194 #943528 #879428
monochromatic
#0E1C34 #1B3764 #285194 #356BC4 #628DD5

Accessibility & contrast

On white

7.79
#285194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285194
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285194#FFFFFF#000000##FFFFFF
##2851941.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305897
Deuteranopia (green-blind)
#1B4E93
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285194;
/* rgb */ color: rgb(40, 81, 148);
/* oklch */ color: oklch(44.2% 0.119 259.7);
Tailwind
colors: {
  custom: {
    50: '#7081b4',
    500: '#285194',
    950: '#000000',
  },
}
SCSS
$custom: #285194;
$custom-light: #7081b4;
$custom-dark: #000000;
JSON
{
  "hex": "#285194",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 148
  },
  "hsl": {
    "h": 217.222,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44219,
    "c": 0.11946,
    "h": 259.7
  },
  "luminance": 0.08474
}

Semantic roles & 50–950 ramp

primary
#285194
secondary
#BA975E
accent
#A647E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #285194

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

Preview Lab → · Contrast checker → · Palette generator →

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