#284B9D#284B9D

#284B9D is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.5% C 0.140 H 264.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#284B9D
RGBrgb(40, 75, 157)
HSLhsl(222, 59%, 39%)
HSVhsv(222, 75%, 62%)
CMYKcmyk(74.5%, 52.2%, 0%, 38.4%)
CIE-LABlab(33.81, 17.14, -48.36)
CIE-LCHlch(33.81, 51.31, 289.52°)
OKLaboklab(43.54% -0.0145 -0.1391)
OKLCHoklch(43.54% 0.14 264.1)
XYZxyz(9.4748, 7.9166, 32.9205)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B9D #9D7A28
analogous
#28859D #284B9D #3F289D
triadic
#284B9D #9D284B #4B9D28
tetradic
#284B9D #9D2885 #9D7A28 #289D3F
square
#284B9D #9D2885 #9D7A28 #289D3F
split-complementary
#284B9D #9D3F28 #859D28
monochromatic
#0F1C3B #1C346C #284B9D #3663CC #6789D8

Accessibility & contrast

On white

8.13
#284B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#284B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B9D
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B9D#FFFFFF#000000##FFFFFF
##284B9D1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1655A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #284b9d;
/* rgb */ color: rgb(40, 75, 157);
/* oklch */ color: oklch(43.5% 0.140 264.1);
Tailwind
colors: {
  custom: {
    50: '#727cba',
    500: '#284b9d',
    950: '#000000',
  },
}
SCSS
$custom: #284b9d;
$custom-light: #727cba;
$custom-dark: #000000;
JSON
{
  "hex": "#284b9d",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 157
  },
  "hsl": {
    "h": 222.051,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4354,
    "c": 0.13983,
    "h": 264.1
  },
  "luminance": 0.07918
}

Semantic roles & 50–950 ramp

primary
#284B9D
secondary
#BEA362
accent
#B445E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #284B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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