#284F93#284F93

#284F93 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.7% C 0.121 H 260.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#284F93
RGBrgb(40, 79, 147)
HSLhsl(218, 57%, 37%)
HSVhsv(218, 73%, 58%)
CMYKcmyk(72.8%, 46.3%, 0%, 42.4%)
CIE-LABlab(34.29, 10.58, -41.53)
CIE-LCHlch(34.29, 42.85, 284.30°)
OKLaboklab(43.69% -0.0196 -0.1189)
OKLCHoklch(43.69% 0.121 260.7)
XYZxyz(8.9356, 8.1487, 28.7000)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284F93 #936C28
analogous
#288593 #284F93 #372893
triadic
#284F93 #93284F #4F9328
tetradic
#284F93 #932885 #936C28 #289337
square
#284F93 #932885 #936C28 #289337
split-complementary
#284F93 #933728 #859328
monochromatic
#0E1B33 #1B3563 #284F93 #3569C3 #618BD4

Accessibility & contrast

On white

7.98
#284F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#284F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284F93
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284F93#FFFFFF#000000##FFFFFF
##284F931.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5696
Deuteranopia (green-blind)
#174C92
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #284f93;
/* rgb */ color: rgb(40, 79, 147);
/* oklch */ color: oklch(43.7% 0.121 260.7);
Tailwind
colors: {
  custom: {
    50: '#707fb3',
    500: '#284f93',
    950: '#000000',
  },
}
SCSS
$custom: #284f93;
$custom-light: #707fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#284f93",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 147
  },
  "hsl": {
    "h": 218.131,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43691,
    "c": 0.12051,
    "h": 260.7
  },
  "luminance": 0.0815
}

Semantic roles & 50–950 ramp

primary
#284F93
secondary
#BA985D
accent
#A947E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #284F93

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

Preview Lab → · Contrast checker → · Palette generator →

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