#284894#284894

#284894 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.131 H 264.3°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#284894
RGBrgb(40, 72, 148)
HSLhsl(222, 57%, 37%)
HSVhsv(222, 73%, 58%)
CMYKcmyk(73%, 51.4%, 0%, 42%)
CIE-LABlab(32.31, 15.68, -45.32)
CIE-LCHlch(32.31, 47.96, 289.08°)
OKLaboklab(42.2% -0.0129 -0.1302)
OKLCHoklch(42.2% 0.131 264.3)
XYZxyz(8.5358, 7.2231, 28.9556)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284894 #947428
analogous
#287E94 #284894 #3E2894
triadic
#284894 #942848 #489428
tetradic
#284894 #94287E #947428 #28943E
square
#284894 #94287E #947428 #28943E
split-complementary
#284894 #943E28 #7E9428
monochromatic
#0E1934 #1B3164 #284894 #355FC4 #6284D5

Accessibility & contrast

On white

8.59
#284894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#284894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284894
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284894#FFFFFF#000000##FFFFFF
##2848941.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5197
Deuteranopia (green-blind)
#004792
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #284894;
/* rgb */ color: rgb(40, 72, 148);
/* oklch */ color: oklch(42.2% 0.131 264.3);
Tailwind
colors: {
  custom: {
    50: '#717ab4',
    500: '#284894',
    950: '#000000',
  },
}
SCSS
$custom: #284894;
$custom-light: #717ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#284894",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 148
  },
  "hsl": {
    "h": 222.222,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42195,
    "c": 0.13084,
    "h": 264.3
  },
  "luminance": 0.07224
}

Semantic roles & 50–950 ramp

primary
#284894
secondary
#BA9F5E
accent
#B347E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284894

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

Preview Lab → · Contrast checker → · Palette generator →

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