#284FA3#284FA3

#284FA3 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.9% C 0.143 H 263.1°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#284FA3
RGBrgb(40, 79, 163)
HSLhsl(221, 61%, 40%)
HSVhsv(221, 75%, 64%)
CMYKcmyk(75.5%, 51.5%, 0%, 36.1%)
CIE-LABlab(35.37, 16.79, -49.44)
CIE-LCHlch(35.37, 52.21, 288.75°)
OKLaboklab(44.87% -0.0171 -0.1422)
OKLCHoklch(44.87% 0.143 263.1)
XYZxyz(10.2796, 8.6863, 35.7781)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284FA3 #A37C28
analogous
#288CA3 #284FA3 #3F28A3
triadic
#284FA3 #A3284F #4FA328
tetradic
#284FA3 #A3288C #A37C28 #28A33F
square
#284FA3 #A3288C #A37C28 #28A33F
split-complementary
#284FA3 #A33F28 #8CA328
monochromatic
#101F41 #1C3772 #284FA3 #3A69CF #6B8EDB

Accessibility & contrast

On white

7.67
#284FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#284FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284FA3
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284FA3#FFFFFF#000000##FFFFFF
##284FA31.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A59A6
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #284fa3;
/* rgb */ color: rgb(40, 79, 163);
/* oklch */ color: oklch(44.9% 0.143 263.1);
Tailwind
colors: {
  custom: {
    50: '#747fbf',
    500: '#284fa3',
    950: '#000000',
  },
}
SCSS
$custom: #284fa3;
$custom-light: #747fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#284fa3",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 220.976,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44867,
    "c": 0.14321,
    "h": 263.1
  },
  "luminance": 0.08687
}

Semantic roles & 50–950 ramp

primary
#284FA3
secondary
#C1A466
accent
#B144E4
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #284FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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