#284E92#284E92

#284E92 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.4% C 0.120 H 261.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#284E92
RGBrgb(40, 78, 146)
HSLhsl(218, 57%, 36%)
HSVhsv(218, 73%, 57%)
CMYKcmyk(72.6%, 46.6%, 0%, 42.7%)
CIE-LABlab(33.93, 10.86, -41.50)
CIE-LCHlch(33.93, 42.90, 284.67°)
OKLaboklab(43.39% -0.0188 -0.1188)
OKLCHoklch(43.39% 0.12 261)
XYZxyz(8.7859, 7.9743, 28.2647)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284E92 #926C28
analogous
#288392 #284E92 #372892
triadic
#284E92 #92284E #4E9228
tetradic
#284E92 #922883 #926C28 #289237
square
#284E92 #922883 #926C28 #289237
split-complementary
#284E92 #923728 #839228
monochromatic
#0E1B32 #1B3462 #284E92 #3568C2 #618AD4

Accessibility & contrast

On white

8.09
#284E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#284E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284E92
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284E92#FFFFFF#000000##FFFFFF
##284E921.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5595
Deuteranopia (green-blind)
#164B91
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #284e92;
/* rgb */ color: rgb(40, 78, 146);
/* oklch */ color: oklch(43.4% 0.120 261.0);
Tailwind
colors: {
  custom: {
    50: '#707fb2',
    500: '#284e92',
    950: '#000000',
  },
}
SCSS
$custom: #284e92;
$custom-light: #707fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#284e92",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 146
  },
  "hsl": {
    "h": 218.491,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43392,
    "c": 0.12032,
    "h": 261
  },
  "luminance": 0.07975
}

Semantic roles & 50–950 ramp

primary
#284E92
secondary
#B9985D
accent
#AA48E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #284E92

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

Preview Lab → · Contrast checker → · Palette generator →

#284E92 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva