#284BA5#284BA5

#284BA5 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.151 H 264.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#284BA5
RGBrgb(40, 75, 165)
HSLhsl(223, 61%, 40%)
HSVhsv(223, 76%, 65%)
CMYKcmyk(75.8%, 54.5%, 0%, 35.3%)
CIE-LABlab(34.39, 20.24, -52.22)
CIE-LCHlch(34.39, 56.01, 291.19°)
OKLaboklab(44.17% -0.0137 -0.1504)
OKLCHoklch(44.17% 0.151 264.8)
XYZxyz(10.1803, 8.1988, 36.6360)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284BA5 #A58228
analogous
#2889A5 #284BA5 #4328A5
triadic
#284BA5 #A5284B #4BA528
tetradic
#284BA5 #A52889 #A58228 #28A543
square
#284BA5 #A52889 #A58228 #28A543
split-complementary
#284BA5 #A54328 #89A528
monochromatic
#101E42 #1C3574 #284BA5 #3B64CF #6C8BDB

Accessibility & contrast

On white

7.95
#284BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#284BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284BA5
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284BA5#FFFFFF#000000##FFFFFF
##284BA51.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0157A8
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #284ba5;
/* rgb */ color: rgb(40, 75, 165);
/* oklch */ color: oklch(44.2% 0.151 264.8);
Tailwind
colors: {
  custom: {
    50: '#747cc0',
    500: '#284ba5',
    950: '#000000',
  },
}
SCSS
$custom: #284ba5;
$custom-light: #747cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#284ba5",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 165
  },
  "hsl": {
    "h": 223.2,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44169,
    "c": 0.15107,
    "h": 264.8
  },
  "luminance": 0.082
}

Semantic roles & 50–950 ramp

primary
#284BA5
secondary
#C2A867
accent
#B744E4
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #284BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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