#284396#284396

#284396 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.140 H 266.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#284396
RGBrgb(40, 67, 150)
HSLhsl(225, 58%, 37%)
HSVhsv(225, 73%, 59%)
CMYKcmyk(73.3%, 55.3%, 0%, 41.2%)
CIE-LABlab(31.04, 19.85, -48.60)
CIE-LCHlch(31.04, 52.50, 292.21°)
OKLaboklab(41.28% -0.0084 -0.1399)
OKLCHoklch(41.28% 0.14 266.6)
XYZxyz(8.3853, 6.6666, 29.6931)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284396 #967B28
analogous
#287A96 #284396 #442896
triadic
#284396 #962843 #439628
tetradic
#284396 #96287A #967B28 #289644
square
#284396 #96287A #967B28 #289644
split-complementary
#284396 #964428 #7A9628
monochromatic
#0E1835 #1B2D66 #284396 #3559C6 #637FD5

Accessibility & contrast

On white

9.00
#284396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#284396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284396
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284396#FFFFFF#000000##FFFFFF
##2843961.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #284396;
/* rgb */ color: rgb(40, 67, 150);
/* oklch */ color: oklch(41.3% 0.140 266.6);
Tailwind
colors: {
  custom: {
    50: '#7176b5',
    500: '#284396',
    950: '#000000',
  },
}
SCSS
$custom: #284396;
$custom-light: #7176b5;
$custom-dark: #000000;
JSON
{
  "hex": "#284396",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 150
  },
  "hsl": {
    "h": 225.273,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41275,
    "c": 0.14018,
    "h": 266.6
  },
  "luminance": 0.06667
}

Semantic roles & 50–950 ramp

primary
#284396
secondary
#BBA45F
accent
#BB47E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #284396

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

Preview Lab → · Contrast checker → · Palette generator →

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