#284ABF#284ABF

#284ABF is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.2% C 0.187 H 266.4°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#284ABF
RGBrgb(40, 74, 191)
HSLhsl(226, 65%, 45%)
HSVhsv(226, 79%, 75%)
CMYKcmyk(79.1%, 61.3%, 0%, 25.1%)
CIE-LABlab(36.19, 30.81, -64.69)
CIE-LCHlch(36.19, 71.65, 295.47°)
OKLaboklab(46.16% -0.0119 -0.1871)
OKLCHoklch(46.16% 0.187 266.4)
XYZxyz(12.7245, 9.1088, 50.3677)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284ABF #BF9D28
analogous
#2895BF #284ABF #5128BF
triadic
#284ABF #BF284A #4ABF28
tetradic
#284ABF #BF2895 #BF9D28 #28BF51
square
#284ABF #BF2895 #BF9D28 #28BF51
split-complementary
#284ABF #BF5128 #95BF28
monochromatic
#13235A #1D368C #284ABF #4B6BD9 #7E95E4

Accessibility & contrast

On white

7.44
#284ABF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#284ABF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284ABF
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284ABF#FFFFFF#000000##FFFFFF
##284ABF1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#004EBD
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #284abf;
/* rgb */ color: rgb(40, 74, 191);
/* oklch */ color: oklch(46.2% 0.187 266.4);
Tailwind
colors: {
  custom: {
    50: '#7b7cd3',
    500: '#284abf',
    950: '#000000',
  },
}
SCSS
$custom: #284abf;
$custom-light: #7b7cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#284abf",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 191
  },
  "hsl": {
    "h": 226.49,
    "s": 65.368,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46164,
    "c": 0.18746,
    "h": 266.4
  },
  "luminance": 0.0911
}

Semantic roles & 50–950 ramp

primary
#284ABF
secondary
#CCB977
accent
#C23FE8
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #284ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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