#284BA1#284BA1

#284BA1 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.145 H 264.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#284BA1
RGBrgb(40, 75, 161)
HSLhsl(223, 60%, 39%)
HSVhsv(223, 75%, 63%)
CMYKcmyk(75.2%, 53.4%, 0%, 36.9%)
CIE-LABlab(34.10, 18.69, -50.30)
CIE-LCHlch(34.10, 53.66, 290.39°)
OKLaboklab(43.85% -0.014 -0.1448)
OKLCHoklch(43.85% 0.145 264.5)
XYZxyz(9.8219, 8.0554, 34.7485)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284BA1 #A17E28
analogous
#2888A1 #284BA1 #4228A1
triadic
#284BA1 #A1284B #4BA128
tetradic
#284BA1 #A12888 #A17E28 #28A142
square
#284BA1 #A12888 #A17E28 #28A142
split-complementary
#284BA1 #A14228 #88A128
monochromatic
#101D3F #1C3470 #284BA1 #3964CE #6A8ADA

Accessibility & contrast

On white

8.04
#284BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#284BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284BA1
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284BA1#FFFFFF#000000##FFFFFF
##284BA11.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E56A4
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #284ba1;
/* rgb */ color: rgb(40, 75, 161);
/* oklch */ color: oklch(43.9% 0.145 264.5);
Tailwind
colors: {
  custom: {
    50: '#737cbd',
    500: '#284ba1',
    950: '#000000',
  },
}
SCSS
$custom: #284ba1;
$custom-light: #737cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#284ba1",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 161
  },
  "hsl": {
    "h": 222.645,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43852,
    "c": 0.14547,
    "h": 264.5
  },
  "luminance": 0.08056
}

Semantic roles & 50–950 ramp

primary
#284BA1
secondary
#C0A665
accent
#B544E3
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #284BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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