#284390#284390

#284390 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.132 H 266.1°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#284390
RGBrgb(40, 67, 144)
HSLhsl(224, 57%, 36%)
HSVhsv(224, 72%, 56%)
CMYKcmyk(72.2%, 53.5%, 0%, 43.5%)
CIE-LABlab(30.59, 17.53, -45.66)
CIE-LCHlch(30.59, 48.91, 291.00°)
OKLaboklab(40.79% -0.0089 -0.1313)
OKLCHoklch(40.79% 0.132 266.1)
XYZxyz(7.9145, 6.4782, 27.2135)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284390 #907528
analogous
#287790 #284390 #412890
triadic
#284390 #902843 #439028
tetradic
#284390 #902877 #907528 #289041
square
#284390 #902877 #907528 #289041
split-complementary
#284390 #904128 #779028
monochromatic
#0D1630 #1B2D60 #284390 #3559C0 #607ED3

Accessibility & contrast

On white

9.15
#284390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#284390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284390
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284390#FFFFFF#000000##FFFFFF
##2843901.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104D93
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #284390;
/* rgb */ color: rgb(40, 67, 144);
/* oklch */ color: oklch(40.8% 0.132 266.1);
Tailwind
colors: {
  custom: {
    50: '#7076b1',
    500: '#284390',
    950: '#000000',
  },
}
SCSS
$custom: #284390;
$custom-light: #7076b1;
$custom-dark: #000000;
JSON
{
  "hex": "#284390",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 144
  },
  "hsl": {
    "h": 224.423,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40795,
    "c": 0.13157,
    "h": 266.1
  },
  "luminance": 0.06479
}

Semantic roles & 50–950 ramp

primary
#284390
secondary
#B8A05C
accent
#B848E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #284390

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

Preview Lab → · Contrast checker → · Palette generator →

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