#284E9F#284E9F

#284E9F is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.139 H 263.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#284E9F
RGBrgb(40, 78, 159)
HSLhsl(221, 60%, 39%)
HSVhsv(221, 75%, 62%)
CMYKcmyk(74.8%, 50.9%, 0%, 37.6%)
CIE-LABlab(34.81, 15.90, -47.95)
CIE-LCHlch(34.81, 50.52, 288.35°)
OKLaboklab(44.35% -0.0168 -0.1378)
OKLCHoklch(44.35% 0.139 263.1)
XYZxyz(9.8552, 8.4020, 33.8965)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284E9F #9F7928
analogous
#288A9F #284E9F #3D289F
triadic
#284E9F #9F284E #4E9F28
tetradic
#284E9F #9F288A #9F7928 #289F3D
square
#284E9F #9F288A #9F7928 #289F3D
split-complementary
#284E9F #9F3D28 #8A9F28
monochromatic
#0F1E3D #1C366E #284E9F #3767CD #688CD9

Accessibility & contrast

On white

7.83
#284E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#284E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284E9F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284E9F#FFFFFF#000000##FFFFFF
##284E9F1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D58A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #284e9f;
/* rgb */ color: rgb(40, 78, 159);
/* oklch */ color: oklch(44.3% 0.139 263.1);
Tailwind
colors: {
  custom: {
    50: '#737fbc',
    500: '#284e9f',
    950: '#000000',
  },
}
SCSS
$custom: #284e9f;
$custom-light: #737fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#284e9f",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 159
  },
  "hsl": {
    "h": 220.84,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44345,
    "c": 0.13885,
    "h": 263.1
  },
  "luminance": 0.08403
}

Semantic roles & 50–950 ramp

primary
#284E9F
secondary
#BFA264
accent
#B045E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #284E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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