#284392#284392

#284392 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.134 H 266.3°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#284392
RGBrgb(40, 67, 146)
HSLhsl(225, 57%, 36%)
HSVhsv(225, 73%, 57%)
CMYKcmyk(72.6%, 54.1%, 0%, 42.7%)
CIE-LABlab(30.74, 18.30, -46.64)
CIE-LCHlch(30.74, 50.11, 291.42°)
OKLaboklab(40.95% -0.0087 -0.1342)
OKLCHoklch(40.95% 0.134 266.3)
XYZxyz(8.0687, 6.5399, 28.0257)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284392 #927728
analogous
#287892 #284392 #422892
triadic
#284392 #922843 #439228
tetradic
#284392 #922878 #927728 #289242
square
#284392 #922878 #927728 #289242
split-complementary
#284392 #924228 #789228
monochromatic
#0E1732 #1B2D62 #284392 #3559C2 #617ED4

Accessibility & contrast

On white

9.10
#284392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284392
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284392#FFFFFF#000000##FFFFFF
##2843921.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4D95
Deuteranopia (green-blind)
#004490
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #284392;
/* rgb */ color: rgb(40, 67, 146);
/* oklch */ color: oklch(41.0% 0.134 266.3);
Tailwind
colors: {
  custom: {
    50: '#7076b3',
    500: '#284392',
    950: '#000000',
  },
}
SCSS
$custom: #284392;
$custom-light: #7076b3;
$custom-dark: #000000;
JSON
{
  "hex": "#284392",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 146
  },
  "hsl": {
    "h": 224.717,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40954,
    "c": 0.13445,
    "h": 266.3
  },
  "luminance": 0.06541
}

Semantic roles & 50–950 ramp

primary
#284392
secondary
#B9A25D
accent
#B948E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #284392

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

Preview Lab → · Contrast checker → · Palette generator →

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