#284A93#284A93

#284A93 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.6% C 0.127 H 263.3°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#284A93
RGBrgb(40, 74, 147)
HSLhsl(221, 57%, 37%)
HSVhsv(221, 73%, 58%)
CMYKcmyk(72.8%, 49.7%, 0%, 42.4%)
CIE-LABlab(32.82, 13.94, -43.89)
CIE-LCHlch(32.82, 46.05, 287.62°)
OKLaboklab(42.56% -0.0149 -0.1259)
OKLCHoklch(42.56% 0.127 263.3)
XYZxyz(8.5884, 7.4544, 28.5843)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A93 #937128
analogous
#288093 #284A93 #3C2893
triadic
#284A93 #93284A #4A9328
tetradic
#284A93 #932880 #937128 #28933C
square
#284A93 #932880 #937128 #28933C
split-complementary
#284A93 #933C28 #809328
monochromatic
#0E1A33 #1B3263 #284A93 #3562C3 #6186D4

Accessibility & contrast

On white

8.43
#284A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#284A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284A93
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A93#FFFFFF#000000##FFFFFF
##284A931.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215296
Deuteranopia (green-blind)
#014992
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #284a93;
/* rgb */ color: rgb(40, 74, 147);
/* oklch */ color: oklch(42.6% 0.127 263.3);
Tailwind
colors: {
  custom: {
    50: '#707cb3',
    500: '#284a93',
    950: '#000000',
  },
}
SCSS
$custom: #284a93;
$custom-light: #707cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#284a93",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 147
  },
  "hsl": {
    "h": 220.935,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42562,
    "c": 0.12683,
    "h": 263.3
  },
  "luminance": 0.07455
}

Semantic roles & 50–950 ramp

primary
#284A93
secondary
#BA9C5D
accent
#B047E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #284A93

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

Preview Lab → · Contrast checker → · Palette generator →

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