#284BAC#284BAC

#284BAC is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.7% C 0.161 H 265.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#284BAC
RGBrgb(40, 75, 172)
HSLhsl(224, 62%, 42%)
HSVhsv(224, 77%, 67%)
CMYKcmyk(76.7%, 56.4%, 0%, 32.5%)
CIE-LABlab(34.92, 22.94, -55.54)
CIE-LCHlch(34.92, 60.09, 292.44°)
OKLaboklab(44.74% -0.0132 -0.1602)
OKLCHoklch(44.74% 0.161 265.3)
XYZxyz(10.8349, 8.4606, 40.0838)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284BAC #AC8928
analogous
#288DAC #284BAC #4728AC
triadic
#284BAC #AC284B #4BAC28
tetradic
#284BAC #AC288D #AC8928 #28AC47
square
#284BAC #AC288D #AC8928 #28AC47
split-complementary
#284BAC #AC4728 #8DAC28
monochromatic
#112049 #1C357A #284BAC #3F66D2 #718EDE

Accessibility & contrast

On white

7.80
#284BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#284BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284BAC
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284BAC#FFFFFF#000000##FFFFFF
##284BAC1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #284bac;
/* rgb */ color: rgb(40, 75, 172);
/* oklch */ color: oklch(44.7% 0.161 265.3);
Tailwind
colors: {
  custom: {
    50: '#767cc5',
    500: '#284bac',
    950: '#000000',
  },
}
SCSS
$custom: #284bac;
$custom-light: #767cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#284bac",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 172
  },
  "hsl": {
    "h": 224.091,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44737,
    "c": 0.16074,
    "h": 265.3
  },
  "luminance": 0.08462
}

Semantic roles & 50–950 ramp

primary
#284BAC
secondary
#C5AD6B
accent
#BA42E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #284BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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