#284D9F#284D9F

#284D9F is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.140 H 263.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#284D9F
RGBrgb(40, 77, 159)
HSLhsl(221, 60%, 39%)
HSVhsv(221, 75%, 62%)
CMYKcmyk(74.8%, 51.6%, 0%, 37.6%)
CIE-LABlab(34.52, 16.57, -48.41)
CIE-LCHlch(34.52, 51.17, 288.90°)
OKLaboklab(44.13% -0.0159 -0.1392)
OKLCHoklch(44.13% 0.14 263.5)
XYZxyz(9.7847, 8.2610, 33.8730)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D9F #9F7A28
analogous
#28899F #284D9F #3F289F
triadic
#284D9F #9F284D #4D9F28
tetradic
#284D9F #9F2889 #9F7A28 #289F3F
square
#284D9F #9F2889 #9F7A28 #289F3F
split-complementary
#284D9F #9F3F28 #899F28
monochromatic
#0F1E3D #1C356E #284D9F #3766CD #688BD9

Accessibility & contrast

On white

7.92
#284D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#284D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284D9F
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284D9F#FFFFFF#000000##FFFFFF
##284D9F1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A57A2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #284d9f;
/* rgb */ color: rgb(40, 77, 159);
/* oklch */ color: oklch(44.1% 0.140 263.5);
Tailwind
colors: {
  custom: {
    50: '#737ebc',
    500: '#284d9f',
    950: '#000000',
  },
}
SCSS
$custom: #284d9f;
$custom-light: #737ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#284d9f",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 159
  },
  "hsl": {
    "h": 221.345,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44127,
    "c": 0.14012,
    "h": 263.5
  },
  "luminance": 0.08262
}

Semantic roles & 50–950 ramp

primary
#284D9F
secondary
#BFA364
accent
#B245E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #284D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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