#284096#284096

#284096 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.144 H 267.7°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#284096
RGBrgb(40, 64, 150)
HSLhsl(227, 58%, 37%)
HSVhsv(227, 73%, 59%)
CMYKcmyk(73.3%, 57.3%, 0%, 41.2%)
CIE-LABlab(30.20, 21.88, -49.95)
CIE-LCHlch(30.20, 54.53, 293.66°)
OKLaboklab(40.65% -0.0059 -0.1439)
OKLCHoklch(40.65% 0.144 267.7)
XYZxyz(8.2116, 6.3191, 29.6352)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284096 #967E28
analogous
#287796 #284096 #472896
triadic
#284096 #962840 #409628
tetradic
#284096 #962877 #967E28 #289647
square
#284096 #962877 #967E28 #289647
split-complementary
#284096 #964728 #779628
monochromatic
#0E1735 #1B2B66 #284096 #3555C6 #637CD5

Accessibility & contrast

On white

9.28
#284096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#284096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284096
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284096#FFFFFF#000000##FFFFFF
##2840961.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#004294
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #284096;
/* rgb */ color: rgb(40, 64, 150);
/* oklch */ color: oklch(40.6% 0.144 267.7);
Tailwind
colors: {
  custom: {
    50: '#7274b6',
    500: '#284096',
    950: '#000000',
  },
}
SCSS
$custom: #284096;
$custom-light: #7274b6;
$custom-dark: #000000;
JSON
{
  "hex": "#284096",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 150
  },
  "hsl": {
    "h": 226.909,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40649,
    "c": 0.14407,
    "h": 267.7
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#284096
secondary
#BBA75F
accent
#BF47E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #284096

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

Preview Lab → · Contrast checker → · Palette generator →

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