#284290#284290

#284290 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.133 H 266.5°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#284290
RGBrgb(40, 66, 144)
HSLhsl(225, 57%, 36%)
HSVhsv(225, 72%, 56%)
CMYKcmyk(72.2%, 54.2%, 0%, 43.5%)
CIE-LABlab(30.30, 18.21, -46.12)
CIE-LCHlch(30.30, 49.58, 291.55°)
OKLaboklab(40.58% -0.008 -0.1326)
OKLCHoklch(40.58% 0.133 266.5)
XYZxyz(7.8556, 6.3604, 27.1938)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284290 #907628
analogous
#287690 #284290 #422890
triadic
#284290 #902842 #429028
tetradic
#284290 #902876 #907628 #289042
square
#284290 #902876 #907628 #289042
split-complementary
#284290 #904228 #769028
monochromatic
#0D1630 #1B2C60 #284290 #3558C0 #607CD3

Accessibility & contrast

On white

9.24
#284290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#284290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284290
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284290#FFFFFF#000000##FFFFFF
##2842901.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4C93
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #284290;
/* rgb */ color: rgb(40, 66, 144);
/* oklch */ color: oklch(40.6% 0.133 266.5);
Tailwind
colors: {
  custom: {
    50: '#7075b1',
    500: '#284290',
    950: '#000000',
  },
}
SCSS
$custom: #284290;
$custom-light: #7075b1;
$custom-dark: #000000;
JSON
{
  "hex": "#284290",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 144
  },
  "hsl": {
    "h": 225,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4058,
    "c": 0.13288,
    "h": 266.5
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#284290
secondary
#B8A15C
accent
#BA48E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #284290

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

Preview Lab → · Contrast checker → · Palette generator →

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