#284B9F#284B9F

#284B9F is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.7% C 0.143 H 264.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#284B9F
RGBrgb(40, 75, 159)
HSLhsl(222, 60%, 39%)
HSVhsv(222, 75%, 62%)
CMYKcmyk(74.8%, 52.8%, 0%, 37.6%)
CIE-LABlab(33.95, 17.92, -49.33)
CIE-LCHlch(33.95, 52.48, 289.96°)
OKLaboklab(43.7% -0.0143 -0.1419)
OKLCHoklch(43.7% 0.143 264.3)
XYZxyz(9.6469, 7.9854, 33.8271)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B9F #9F7C28
analogous
#28879F #284B9F #41289F
triadic
#284B9F #9F284B #4B9F28
tetradic
#284B9F #9F2887 #9F7C28 #289F41
square
#284B9F #9F2887 #9F7C28 #289F41
split-complementary
#284B9F #9F4128 #879F28
monochromatic
#0F1D3D #1C346E #284B9F #3763CD #6889D9

Accessibility & contrast

On white

8.09
#284B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#284B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B9F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B9F#FFFFFF#000000##FFFFFF
##284B9F1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1256A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #284b9f;
/* rgb */ color: rgb(40, 75, 159);
/* oklch */ color: oklch(43.7% 0.143 264.3);
Tailwind
colors: {
  custom: {
    50: '#737cbc',
    500: '#284b9f',
    950: '#000000',
  },
}
SCSS
$custom: #284b9f;
$custom-light: #737cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#284b9f",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 159
  },
  "hsl": {
    "h": 222.353,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43695,
    "c": 0.14265,
    "h": 264.3
  },
  "luminance": 0.07986
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #284B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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