#285294#285294

#285294 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.4% C 0.118 H 259.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#285294
RGBrgb(40, 82, 148)
HSLhsl(217, 57%, 37%)
HSVhsv(217, 73%, 58%)
CMYKcmyk(73%, 44.6%, 0%, 42%)
CIE-LABlab(35.25, 8.97, -40.60)
CIE-LCHlch(35.25, 41.58, 282.46°)
OKLaboklab(44.45% -0.0222 -0.1161)
OKLCHoklch(44.45% 0.118 259.2)
XYZxyz(9.2357, 8.6228, 29.1889)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285294 #946A28
analogous
#288894 #285294 #342894
triadic
#285294 #942852 #529428
tetradic
#285294 #942888 #946A28 #289434
square
#285294 #942888 #946A28 #289434
split-complementary
#285294 #943428 #889428
monochromatic
#0E1D34 #1B3764 #285294 #356DC4 #628ED5

Accessibility & contrast

On white

7.71
#285294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#285294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285294
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285294#FFFFFF#000000##FFFFFF
##2852941.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325897
Deuteranopia (green-blind)
#1E4E93
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #285294;
/* rgb */ color: rgb(40, 82, 148);
/* oklch */ color: oklch(44.4% 0.118 259.2);
Tailwind
colors: {
  custom: {
    50: '#7082b4',
    500: '#285294',
    950: '#000000',
  },
}
SCSS
$custom: #285294;
$custom-light: #7082b4;
$custom-dark: #000000;
JSON
{
  "hex": "#285294",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 148
  },
  "hsl": {
    "h": 216.667,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44449,
    "c": 0.11824,
    "h": 259.2
  },
  "luminance": 0.08624
}

Semantic roles & 50–950 ramp

primary
#285294
secondary
#BA965E
accent
#A547E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #285294

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

Preview Lab → · Contrast checker → · Palette generator →

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