#284FAA#284FAA

#284FAA is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.153 H 263.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#284FAA
RGBrgb(40, 79, 170)
HSLhsl(222, 62%, 41%)
HSVhsv(222, 76%, 67%)
CMYKcmyk(76.5%, 53.5%, 0%, 33.3%)
CIE-LABlab(35.88, 19.50, -52.80)
CIE-LCHlch(35.88, 56.29, 290.26°)
OKLaboklab(45.41% -0.0164 -0.1521)
OKLCHoklch(45.41% 0.153 263.9)
XYZxyz(10.9242, 8.9441, 39.1731)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284FAA #AA8328
analogous
#2890AA #284FAA #4228AA
triadic
#284FAA #AA284F #4FAA28
tetradic
#284FAA #AA2890 #AA8328 #28AA42
square
#284FAA #AA2890 #AA8328 #28AA42
split-complementary
#284FAA #AA4228 #90AA28
monochromatic
#112147 #1C3878 #284FAA #3E6AD2 #6F90DD

Accessibility & contrast

On white

7.53
#284FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#284FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284FAA
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284FAA#FFFFFF#000000##FFFFFF
##284FAA1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5BAD
Deuteranopia (green-blind)
#004FA8
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #284faa;
/* rgb */ color: rgb(40, 79, 170);
/* oklch */ color: oklch(45.4% 0.153 263.9);
Tailwind
colors: {
  custom: {
    50: '#757fc4',
    500: '#284faa',
    950: '#000000',
  },
}
SCSS
$custom: #284faa;
$custom-light: #757fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#284faa",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 170
  },
  "hsl": {
    "h": 222,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45409,
    "c": 0.15297,
    "h": 263.9
  },
  "luminance": 0.08945
}

Semantic roles & 50–950 ramp

primary
#284FAA
secondary
#C4A96A
accent
#B443E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #284FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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