#284BA9#284BA9

#284BA9 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.157 H 265.1°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#284BA9
RGBrgb(40, 75, 169)
HSLhsl(224, 62%, 41%)
HSVhsv(224, 76%, 66%)
CMYKcmyk(76.3%, 55.6%, 0%, 33.7%)
CIE-LABlab(34.69, 21.78, -54.12)
CIE-LCHlch(34.69, 58.34, 291.92°)
OKLaboklab(44.49% -0.0134 -0.156)
OKLCHoklch(44.49% 0.157 265.1)
XYZxyz(10.5501, 8.3467, 38.5835)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284BA9 #A98628
analogous
#288BA9 #284BA9 #4528A9
triadic
#284BA9 #A9284B #4BA928
tetradic
#284BA9 #A9288B #A98628 #28A945
square
#284BA9 #A9288B #A98628 #28A945
split-complementary
#284BA9 #A94528 #8BA928
monochromatic
#111F46 #1C3578 #284BA9 #3D65D1 #6F8CDD

Accessibility & contrast

On white

7.87
#284BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#284BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284BA9
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284BA9#FFFFFF#000000##FFFFFF
##284BA91.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#004CA7
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #284ba9;
/* rgb */ color: rgb(40, 75, 169);
/* oklch */ color: oklch(44.5% 0.157 265.1);
Tailwind
colors: {
  custom: {
    50: '#757cc3',
    500: '#284ba9',
    950: '#000000',
  },
}
SCSS
$custom: #284ba9;
$custom-light: #757cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#284ba9",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 169
  },
  "hsl": {
    "h": 223.721,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44492,
    "c": 0.15661,
    "h": 265.1
  },
  "luminance": 0.08348
}

Semantic roles & 50–950 ramp

primary
#284BA9
secondary
#C4AB69
accent
#B943E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #284BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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