#284C93#284C93

#284C93 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.124 H 262.3°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#284C93
RGBrgb(40, 76, 147)
HSLhsl(220, 57%, 37%)
HSVhsv(220, 73%, 58%)
CMYKcmyk(72.8%, 48.3%, 0%, 42.4%)
CIE-LABlab(33.41, 12.59, -42.95)
CIE-LCHlch(33.41, 44.76, 286.34°)
OKLaboklab(43.01% -0.0167 -0.1231)
OKLCHoklch(43.01% 0.124 262.3)
XYZxyz(8.7241, 7.7257, 28.6295)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284C93 #936F28
analogous
#288293 #284C93 #3A2893
triadic
#284C93 #93284C #4C9328
tetradic
#284C93 #932882 #936F28 #28933A
square
#284C93 #932882 #936F28 #28933A
split-complementary
#284C93 #933A28 #829328
monochromatic
#0E1A33 #1B3363 #284C93 #3565C3 #6188D4

Accessibility & contrast

On white

8.25
#284C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#284C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284C93
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284C93#FFFFFF#000000##FFFFFF
##284C931.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265496
Deuteranopia (green-blind)
#0B4A92
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #284c93;
/* rgb */ color: rgb(40, 76, 147);
/* oklch */ color: oklch(43.0% 0.124 262.3);
Tailwind
colors: {
  custom: {
    50: '#707db3',
    500: '#284c93',
    950: '#000000',
  },
}
SCSS
$custom: #284c93;
$custom-light: #707db3;
$custom-dark: #000000;
JSON
{
  "hex": "#284c93",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 147
  },
  "hsl": {
    "h": 219.813,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4301,
    "c": 0.12427,
    "h": 262.3
  },
  "luminance": 0.07727
}

Semantic roles & 50–950 ramp

primary
#284C93
secondary
#BA9B5D
accent
#AD47E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #284C93

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

Preview Lab → · Contrast checker → · Palette generator →

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