#284E93#284E93

#284E93 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.122 H 261.2°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#284E93
RGBrgb(40, 78, 147)
HSLhsl(219, 57%, 37%)
HSVhsv(219, 73%, 58%)
CMYKcmyk(72.8%, 46.9%, 0%, 42.4%)
CIE-LABlab(33.99, 11.25, -42.00)
CIE-LCHlch(33.99, 43.48, 284.99°)
OKLaboklab(43.46% -0.0186 -0.1203)
OKLCHoklch(43.46% 0.122 261.2)
XYZxyz(8.8640, 8.0055, 28.6762)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284E93 #936D28
analogous
#288493 #284E93 #382893
triadic
#284E93 #93284E #4E9328
tetradic
#284E93 #932884 #936D28 #289338
square
#284E93 #932884 #936D28 #289338
split-complementary
#284E93 #933828 #849328
monochromatic
#0E1B33 #1B3463 #284E93 #3568C3 #618AD4

Accessibility & contrast

On white

8.07
#284E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284E93
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284E93#FFFFFF#000000##FFFFFF
##284E931.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5596
Deuteranopia (green-blind)
#144B92
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #284e93;
/* rgb */ color: rgb(40, 78, 147);
/* oklch */ color: oklch(43.5% 0.122 261.2);
Tailwind
colors: {
  custom: {
    50: '#707fb3',
    500: '#284e93',
    950: '#000000',
  },
}
SCSS
$custom: #284e93;
$custom-light: #707fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#284e93",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 147
  },
  "hsl": {
    "h": 218.692,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43463,
    "c": 0.12175,
    "h": 261.2
  },
  "luminance": 0.08006
}

Semantic roles & 50–950 ramp

primary
#284E93
secondary
#BA995D
accent
#AA47E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #284E93

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

Preview Lab → · Contrast checker → · Palette generator →

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