#284BA0#284BA0

#284BA0 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.144 H 264.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#284BA0
RGBrgb(40, 75, 160)
HSLhsl(223, 60%, 39%)
HSVhsv(223, 75%, 63%)
CMYKcmyk(75%, 53.1%, 0%, 37.3%)
CIE-LABlab(34.03, 18.31, -49.82)
CIE-LCHlch(34.03, 53.07, 290.18°)
OKLaboklab(43.77% -0.0142 -0.1434)
OKLCHoklch(43.77% 0.144 264.4)
XYZxyz(9.7341, 8.0203, 34.2859)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284BA0 #A07D28
analogous
#2887A0 #284BA0 #4128A0
triadic
#284BA0 #A0284B #4BA028
tetradic
#284BA0 #A02887 #A07D28 #28A041
square
#284BA0 #A02887 #A07D28 #28A041
split-complementary
#284BA0 #A04128 #87A028
monochromatic
#101D3E #1C346F #284BA0 #3864CD #698AD9

Accessibility & contrast

On white

8.06
#284BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#284BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284BA0
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284BA0#FFFFFF#000000##FFFFFF
##284BA01.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1056A3
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #284ba0;
/* rgb */ color: rgb(40, 75, 160);
/* oklch */ color: oklch(43.8% 0.144 264.4);
Tailwind
colors: {
  custom: {
    50: '#737cbd',
    500: '#284ba0',
    950: '#000000',
  },
}
SCSS
$custom: #284ba0;
$custom-light: #737cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#284ba0",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 160
  },
  "hsl": {
    "h": 222.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43773,
    "c": 0.14407,
    "h": 264.4
  },
  "luminance": 0.08021
}

Semantic roles & 50–950 ramp

primary
#284BA0
secondary
#C0A564
accent
#B545E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #284BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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