#284AA1#284AA1

#284AA1 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.6% C 0.147 H 264.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#284AA1
RGBrgb(40, 74, 161)
HSLhsl(223, 60%, 39%)
HSVhsv(223, 75%, 63%)
CMYKcmyk(75.2%, 54%, 0%, 36.9%)
CIE-LABlab(33.82, 19.37, -50.75)
CIE-LCHlch(33.82, 54.32, 290.89°)
OKLaboklab(43.64% -0.0132 -0.1461)
OKLCHoklch(43.64% 0.147 264.8)
XYZxyz(9.7546, 7.9208, 34.7261)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284AA1 #A17F28
analogous
#2887A1 #284AA1 #4228A1
triadic
#284AA1 #A1284A #4AA128
tetradic
#284AA1 #A12887 #A17F28 #28A142
square
#284AA1 #A12887 #A17F28 #28A142
split-complementary
#284AA1 #A14228 #87A128
monochromatic
#101D3F #1C3370 #284AA1 #3962CE #6A89DA

Accessibility & contrast

On white

8.13
#284AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#284AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284AA1
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284AA1#FFFFFF#000000##FFFFFF
##284AA11.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0855A4
Deuteranopia (green-blind)
#004A9F
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #284aa1;
/* rgb */ color: rgb(40, 74, 161);
/* oklch */ color: oklch(43.6% 0.147 264.8);
Tailwind
colors: {
  custom: {
    50: '#737cbd',
    500: '#284aa1',
    950: '#000000',
  },
}
SCSS
$custom: #284aa1;
$custom-light: #737cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#284aa1",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 161
  },
  "hsl": {
    "h": 223.14,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43639,
    "c": 0.14675,
    "h": 264.8
  },
  "luminance": 0.07922
}

Semantic roles & 50–950 ramp

primary
#284AA1
secondary
#C0A665
accent
#B744E3
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #284AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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