#284490#284490

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

Color values

HEX#284490
RGBrgb(40, 68, 144)
HSLhsl(224, 57%, 36%)
HSVhsv(224, 72%, 56%)
CMYKcmyk(72.2%, 52.8%, 0%, 43.5%)
CIE-LABlab(30.87, 16.85, -45.19)
CIE-LCHlch(30.87, 48.23, 290.44°)
OKLaboklab(41.01% -0.0098 -0.1299)
OKLCHoklch(41.01% 0.13 265.7)
XYZxyz(7.9745, 6.5982, 27.2335)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284490 #907428
analogous
#287890 #284490 #402890
triadic
#284490 #902844 #449028
tetradic
#284490 #902878 #907428 #289040
square
#284490 #902878 #907428 #289040
split-complementary
#284490 #904028 #789028
monochromatic
#0D1730 #1B2D60 #284490 #355BC0 #607FD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##284490#FFFFFF#000000##FFFFFF
##2844901.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)
#144E93
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #284490;
/* rgb */ color: rgb(40, 68, 144);
/* oklch */ color: oklch(41.0% 0.130 265.7);
Tailwind
colors: {
  custom: {
    50: '#7077b1',
    500: '#284490',
    950: '#000000',
  },
}
SCSS
$custom: #284490;
$custom-light: #7077b1;
$custom-dark: #000000;
JSON
{
  "hex": "#284490",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 144
  },
  "hsl": {
    "h": 223.846,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41012,
    "c": 0.13026,
    "h": 265.7
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

primary
#284490
secondary
#B89F5C
accent
#B748E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #284490

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

Preview Lab → · Contrast checker → · Palette generator →

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