#284FA0#284FA0

#284FA0 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.139 H 262.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#284FA0
RGBrgb(40, 79, 160)
HSLhsl(221, 60%, 39%)
HSVhsv(221, 75%, 63%)
CMYKcmyk(75%, 50.6%, 0%, 37.3%)
CIE-LABlab(35.16, 15.62, -47.98)
CIE-LCHlch(35.16, 50.46, 288.04°)
OKLaboklab(44.64% -0.0175 -0.1379)
OKLCHoklch(44.64% 0.139 262.8)
XYZxyz(10.0140, 8.5800, 34.3792)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284FA0 #A07928
analogous
#288BA0 #284FA0 #3D28A0
triadic
#284FA0 #A0284F #4FA028
tetradic
#284FA0 #A0288B #A07928 #28A03D
square
#284FA0 #A0288B #A07928 #28A03D
split-complementary
#284FA0 #A03D28 #8BA028
monochromatic
#101F3E #1C376F #284FA0 #3868CD #698ED9

Accessibility & contrast

On white

7.73
#284FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#284FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284FA0
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284FA0#FFFFFF#000000##FFFFFF
##284FA01.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F59A3
Deuteranopia (green-blind)
#004D9E
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #284fa0;
/* rgb */ color: rgb(40, 79, 160);
/* oklch */ color: oklch(44.6% 0.139 262.8);
Tailwind
colors: {
  custom: {
    50: '#737fbd',
    500: '#284fa0',
    950: '#000000',
  },
}
SCSS
$custom: #284fa0;
$custom-light: #737fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#284fa0",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 160
  },
  "hsl": {
    "h": 220.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44639,
    "c": 0.139,
    "h": 262.8
  },
  "luminance": 0.08581
}

Semantic roles & 50–950 ramp

primary
#284FA0
secondary
#C0A264
accent
#B045E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #284FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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