#284FA9#284FA9

#284FA9 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.3% C 0.152 H 263.8°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#284FA9
RGBrgb(40, 79, 169)
HSLhsl(222, 62%, 41%)
HSVhsv(222, 76%, 66%)
CMYKcmyk(76.3%, 53.3%, 0%, 33.7%)
CIE-LABlab(35.80, 19.11, -52.33)
CIE-LCHlch(35.80, 55.71, 290.06°)
OKLaboklab(45.33% -0.0165 -0.1507)
OKLCHoklch(45.33% 0.152 263.8)
XYZxyz(10.8299, 8.9064, 38.6768)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284FA9 #A98228
analogous
#288FA9 #284FA9 #4128A9
triadic
#284FA9 #A9284F #4FA928
tetradic
#284FA9 #A9288F #A98228 #28A941
square
#284FA9 #A9288F #A98228 #28A941
split-complementary
#284FA9 #A94128 #8FA928
monochromatic
#112146 #1C3878 #284FA9 #3D6AD1 #6F90DD

Accessibility & contrast

On white

7.55
#284FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#284FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284FA9
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284FA9#FFFFFF#000000##FFFFFF
##284FA91.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5AAC
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#006574
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #284fa9;
/* rgb */ color: rgb(40, 79, 169);
/* oklch */ color: oklch(45.3% 0.152 263.8);
Tailwind
colors: {
  custom: {
    50: '#757fc3',
    500: '#284fa9',
    950: '#000000',
  },
}
SCSS
$custom: #284fa9;
$custom-light: #757fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#284fa9",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 221.86,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45331,
    "c": 0.15158,
    "h": 263.8
  },
  "luminance": 0.08908
}

Semantic roles & 50–950 ramp

primary
#284FA9
secondary
#C4A869
accent
#B443E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #284FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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