#284B96#284B96

#284B96 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.130 H 263.2°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#284B96
RGBrgb(40, 75, 150)
HSLhsl(221, 58%, 37%)
HSVhsv(221, 73%, 59%)
CMYKcmyk(73.3%, 50%, 0%, 41.2%)
CIE-LABlab(33.32, 14.43, -44.91)
CIE-LCHlch(33.32, 47.18, 287.81°)
OKLaboklab(43.01% -0.0154 -0.1289)
OKLCHoklch(43.01% 0.13 263.2)
XYZxyz(8.8942, 7.6843, 29.8627)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B96 #967328
analogous
#288296 #284B96 #3C2896
triadic
#284B96 #96284B #4B9628
tetradic
#284B96 #962882 #967328 #28963C
square
#284B96 #962882 #967328 #28963C
split-complementary
#284B96 #963C28 #829628
monochromatic
#0E1B35 #1B3366 #284B96 #3563C6 #6387D5

Accessibility & contrast

On white

8.28
#284B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#284B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B96
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B96#FFFFFF#000000##FFFFFF
##284B961.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205499
Deuteranopia (green-blind)
#004A94
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #284b96;
/* rgb */ color: rgb(40, 75, 150);
/* oklch */ color: oklch(43.0% 0.130 263.2);
Tailwind
colors: {
  custom: {
    50: '#717cb5',
    500: '#284b96',
    950: '#000000',
  },
}
SCSS
$custom: #284b96;
$custom-light: #717cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#284b96",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 150
  },
  "hsl": {
    "h": 220.909,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43008,
    "c": 0.12986,
    "h": 263.2
  },
  "luminance": 0.07685
}

Semantic roles & 50–950 ramp

primary
#284B96
secondary
#BB9E5F
accent
#B047E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284B96

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

Preview Lab → · Contrast checker → · Palette generator →

#284B96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva