#284AA2#284AA2

#284AA2 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.7% C 0.148 H 264.9°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#284AA2
RGBrgb(40, 74, 162)
HSLhsl(223, 60%, 40%)
HSVhsv(223, 75%, 64%)
CMYKcmyk(75.3%, 54.3%, 0%, 36.5%)
CIE-LABlab(33.89, 19.75, -51.23)
CIE-LCHlch(33.89, 54.91, 291.08°)
OKLaboklab(43.72% -0.0131 -0.1476)
OKLCHoklch(43.72% 0.148 264.9)
XYZxyz(9.8431, 7.9562, 35.1924)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284AA2 #A28028
analogous
#2887A2 #284AA2 #4328A2
triadic
#284AA2 #A2284A #4AA228
tetradic
#284AA2 #A22887 #A28028 #28A243
square
#284AA2 #A22887 #A28028 #28A243
split-complementary
#284AA2 #A24328 #87A228
monochromatic
#101D40 #1C3471 #284AA2 #3963CE #6A89DA

Accessibility & contrast

On white

8.10
#284AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#284AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284AA2
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284AA2#FFFFFF#000000##FFFFFF
##284AA21.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0456A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #284aa2;
/* rgb */ color: rgb(40, 74, 162);
/* oklch */ color: oklch(43.7% 0.148 264.9);
Tailwind
colors: {
  custom: {
    50: '#747cbe',
    500: '#284aa2',
    950: '#000000',
  },
}
SCSS
$custom: #284aa2;
$custom-light: #747cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#284aa2",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 223.279,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43718,
    "c": 0.14814,
    "h": 264.9
  },
  "luminance": 0.07957
}

Semantic roles & 50–950 ramp

primary
#284AA2
secondary
#C1A765
accent
#B744E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #284AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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