#284F9F#284F9F

#284F9F is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.6% C 0.138 H 262.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#284F9F
RGBrgb(40, 79, 159)
HSLhsl(220, 60%, 39%)
HSVhsv(220, 75%, 62%)
CMYKcmyk(74.8%, 50.3%, 0%, 37.6%)
CIE-LABlab(35.09, 15.23, -47.49)
CIE-LCHlch(35.09, 49.87, 287.79°)
OKLaboklab(44.56% -0.0176 -0.1364)
OKLCHoklch(44.56% 0.138 262.6)
XYZxyz(9.9268, 8.5452, 33.9204)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284F9F #9F7828
analogous
#288B9F #284F9F #3D289F
triadic
#284F9F #9F284F #4F9F28
tetradic
#284F9F #9F288B #9F7828 #289F3D
square
#284F9F #9F288B #9F7828 #289F3D
split-complementary
#284F9F #9F3D28 #8B9F28
monochromatic
#0F1E3D #1C376E #284F9F #3768CD #688DD9

Accessibility & contrast

On white

7.75
#284F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#284F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284F9F
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284F9F#FFFFFF#000000##FFFFFF
##284F9F1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2058A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #284f9f;
/* rgb */ color: rgb(40, 79, 159);
/* oklch */ color: oklch(44.6% 0.138 262.6);
Tailwind
colors: {
  custom: {
    50: '#737fbc',
    500: '#284f9f',
    950: '#000000',
  },
}
SCSS
$custom: #284f9f;
$custom-light: #737fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#284f9f",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 159
  },
  "hsl": {
    "h": 220.336,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44564,
    "c": 0.13759,
    "h": 262.6
  },
  "luminance": 0.08546
}

Semantic roles & 50–950 ramp

primary
#284F9F
secondary
#BFA164
accent
#AF45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #284F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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