#284BAE#284BAE

#284BAE is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.163 H 265.4°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#284BAE
RGBrgb(40, 75, 174)
HSLhsl(224, 63%, 42%)
HSVhsv(224, 77%, 68%)
CMYKcmyk(77%, 56.9%, 0%, 31.8%)
CIE-LABlab(35.08, 23.70, -56.48)
CIE-LCHlch(35.08, 61.25, 292.77°)
OKLaboklab(44.9% -0.013 -0.163)
OKLCHoklch(44.9% 0.163 265.4)
XYZxyz(11.0284, 8.5380, 41.1030)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284BAE #AE8B28
analogous
#288EAE #284BAE #4828AE
triadic
#284BAE #AE284B #4BAE28
tetradic
#284BAE #AE288E #AE8B28 #28AE48
square
#284BAE #AE288E #AE8B28 #28AE48
split-complementary
#284BAE #AE4828 #8EAE28
monochromatic
#11204A #1D367C #284BAE #4066D3 #728EDF

Accessibility & contrast

On white

7.76
#284BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#284BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284BAE
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284BAE#FFFFFF#000000##FFFFFF
##284BAE1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #284bae;
/* rgb */ color: rgb(40, 75, 174);
/* oklch */ color: oklch(44.9% 0.163 265.4);
Tailwind
colors: {
  custom: {
    50: '#767cc7',
    500: '#284bae',
    950: '#000000',
  },
}
SCSS
$custom: #284bae;
$custom-light: #767cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#284bae",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 174
  },
  "hsl": {
    "h": 224.328,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44902,
    "c": 0.16348,
    "h": 265.4
  },
  "luminance": 0.08539
}

Semantic roles & 50–950 ramp

primary
#284BAE
secondary
#C6AE6C
accent
#BB42E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #284BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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