#284B9C#284B9C

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

Color values

HEX#284B9C
RGBrgb(40, 75, 156)
HSLhsl(222, 59%, 38%)
HSVhsv(222, 74%, 61%)
CMYKcmyk(74.4%, 51.9%, 0%, 38.8%)
CIE-LABlab(33.74, 16.76, -47.87)
CIE-LCHlch(33.74, 50.72, 289.29°)
OKLaboklab(43.46% -0.0146 -0.1376)
OKLCHoklch(43.46% 0.138 263.9)
XYZxyz(9.3898, 7.8826, 32.4727)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B9C #9C7928
analogous
#28859C #284B9C #3F289C
triadic
#284B9C #9C284B #4B9C28
tetradic
#284B9C #9C2885 #9C7928 #289C3F
square
#284B9C #9C2885 #9C7928 #289C3F
split-complementary
#284B9C #9C3F28 #859C28
monochromatic
#0F1C3B #1C346B #284B9C #3663CB #6789D8

Accessibility & contrast

On white

8.15
#284B9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284B9C
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B9C#FFFFFF#000000##FFFFFF
##284B9C1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18559F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#005E6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #284b9c;
/* rgb */ color: rgb(40, 75, 156);
/* oklch */ color: oklch(43.5% 0.138 263.9);
Tailwind
colors: {
  custom: {
    50: '#727cba',
    500: '#284b9c',
    950: '#000000',
  },
}
SCSS
$custom: #284b9c;
$custom-light: #727cba;
$custom-dark: #000000;
JSON
{
  "hex": "#284b9c",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 156
  },
  "hsl": {
    "h": 221.897,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43463,
    "c": 0.13841,
    "h": 263.9
  },
  "luminance": 0.07884
}

Semantic roles & 50–950 ramp

primary
#284B9C
secondary
#BEA262
accent
#B345E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #284B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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