#284393#284393

#284393 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.0% C 0.136 H 266.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#284393
RGBrgb(40, 67, 147)
HSLhsl(225, 57%, 37%)
HSVhsv(225, 73%, 58%)
CMYKcmyk(72.8%, 54.4%, 0%, 42.4%)
CIE-LABlab(30.81, 18.69, -47.13)
CIE-LCHlch(30.81, 50.70, 291.63°)
OKLaboklab(41.03% -0.0086 -0.1356)
OKLCHoklch(41.03% 0.136 266.4)
XYZxyz(8.1468, 6.5712, 28.4371)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284393 #937828
analogous
#287993 #284393 #432893
triadic
#284393 #932843 #439328
tetradic
#284393 #932879 #937828 #289343
square
#284393 #932879 #937828 #289343
split-complementary
#284393 #934328 #799328
monochromatic
#0E1733 #1B2D63 #284393 #3559C3 #617ED4

Accessibility & contrast

On white

9.07
#284393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#284393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284393
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284393#FFFFFF#000000##FFFFFF
##2843931.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084E96
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #284393;
/* rgb */ color: rgb(40, 67, 147);
/* oklch */ color: oklch(41.0% 0.136 266.4);
Tailwind
colors: {
  custom: {
    50: '#7176b3',
    500: '#284393',
    950: '#000000',
  },
}
SCSS
$custom: #284393;
$custom-light: #7176b3;
$custom-dark: #000000;
JSON
{
  "hex": "#284393",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 147
  },
  "hsl": {
    "h": 224.86,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41034,
    "c": 0.13589,
    "h": 266.4
  },
  "luminance": 0.06572
}

Semantic roles & 50–950 ramp

primary
#284393
secondary
#BAA25D
accent
#BA47E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #284393

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

Preview Lab → · Contrast checker → · Palette generator →

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