#284394#284394

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

Color values

HEX#284394
RGBrgb(40, 67, 148)
HSLhsl(225, 57%, 37%)
HSVhsv(225, 73%, 58%)
CMYKcmyk(73%, 54.7%, 0%, 42%)
CIE-LABlab(30.88, 19.07, -47.62)
CIE-LCHlch(30.88, 51.30, 291.83°)
OKLaboklab(41.11% -0.0085 -0.1371)
OKLCHoklch(41.11% 0.137 266.4)
XYZxyz(8.2257, 6.6027, 28.8522)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284394 #947928
analogous
#287994 #284394 #432894
triadic
#284394 #942843 #439428
tetradic
#284394 #942879 #947928 #289443
square
#284394 #942879 #947928 #289443
split-complementary
#284394 #944328 #799428
monochromatic
#0E1734 #1B2D64 #284394 #3559C4 #627FD5

Accessibility & contrast

On white

9.05
#284394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#284394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284394
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284394#FFFFFF#000000##FFFFFF
##2843941.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054E97
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #284394;
/* rgb */ color: rgb(40, 67, 148);
/* oklch */ color: oklch(41.1% 0.137 266.4);
Tailwind
colors: {
  custom: {
    50: '#7176b4',
    500: '#284394',
    950: '#000000',
  },
}
SCSS
$custom: #284394;
$custom-light: #7176b4;
$custom-dark: #000000;
JSON
{
  "hex": "#284394",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 148
  },
  "hsl": {
    "h": 225,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41114,
    "c": 0.13733,
    "h": 266.4
  },
  "luminance": 0.06604
}

Semantic roles & 50–950 ramp

primary
#284394
secondary
#BAA35E
accent
#BA47E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #284394

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

Preview Lab → · Contrast checker → · Palette generator →

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