#284A99#284A99

#284A99 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.0% C 0.135 H 264.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#284A99
RGBrgb(40, 74, 153)
HSLhsl(222, 59%, 38%)
HSVhsv(222, 74%, 60%)
CMYKcmyk(73.9%, 51.6%, 0%, 40%)
CIE-LABlab(33.24, 16.27, -46.86)
CIE-LCHlch(33.24, 49.60, 289.14°)
OKLaboklab(43.02% -0.0141 -0.1347)
OKLCHoklch(43.02% 0.135 264)
XYZxyz(9.0716, 7.6476, 31.1289)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A99 #997728
analogous
#288299 #284A99 #3F2899
triadic
#284A99 #99284A #4A9928
tetradic
#284A99 #992882 #997728 #28993F
square
#284A99 #992882 #997728 #28993F
split-complementary
#284A99 #993F28 #829928
monochromatic
#0F1B38 #1B3368 #284A99 #3561CA #6587D7

Accessibility & contrast

On white

8.30
#284A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#284A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284A99
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A99#FFFFFF#000000##FFFFFF
##284A991.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A549C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #284a99;
/* rgb */ color: rgb(40, 74, 153);
/* oklch */ color: oklch(43.0% 0.135 264.0);
Tailwind
colors: {
  custom: {
    50: '#727cb8',
    500: '#284a99',
    950: '#000000',
  },
}
SCSS
$custom: #284a99;
$custom-light: #727cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#284a99",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 153
  },
  "hsl": {
    "h": 221.947,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43015,
    "c": 0.13542,
    "h": 264
  },
  "luminance": 0.07649
}

Semantic roles & 50–950 ramp

primary
#284A99
secondary
#BDA160
accent
#B346E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284A99

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

Preview Lab → · Contrast checker → · Palette generator →

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