#284A96#284A96

#284A96 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.131 H 263.7°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#284A96
RGBrgb(40, 74, 150)
HSLhsl(221, 58%, 37%)
HSVhsv(221, 73%, 59%)
CMYKcmyk(73.3%, 50.7%, 0%, 41.2%)
CIE-LABlab(33.03, 15.10, -45.38)
CIE-LCHlch(33.03, 47.83, 288.41°)
OKLaboklab(42.79% -0.0145 -0.1303)
OKLCHoklch(42.79% 0.131 263.7)
XYZxyz(8.8269, 7.5497, 29.8403)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A96 #967428
analogous
#288196 #284A96 #3D2896
triadic
#284A96 #96284A #4A9628
tetradic
#284A96 #962881 #967428 #28963D
square
#284A96 #962881 #967428 #28963D
split-complementary
#284A96 #963D28 #819628
monochromatic
#0E1A35 #1B3266 #284A96 #3562C6 #6386D5

Accessibility & contrast

On white

8.37
#284A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#284A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284A96
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A96#FFFFFF#000000##FFFFFF
##284A961.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5399
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #284a96;
/* rgb */ color: rgb(40, 74, 150);
/* oklch */ color: oklch(42.8% 0.131 263.7);
Tailwind
colors: {
  custom: {
    50: '#717cb5',
    500: '#284a96',
    950: '#000000',
  },
}
SCSS
$custom: #284a96;
$custom-light: #717cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#284a96",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 150
  },
  "hsl": {
    "h": 221.455,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42787,
    "c": 0.13114,
    "h": 263.7
  },
  "luminance": 0.07551
}

Semantic roles & 50–950 ramp

primary
#284A96
secondary
#BB9F5F
accent
#B147E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284A96

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

Preview Lab → · Contrast checker → · Palette generator →

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