#284BB0#284BB0

#284BB0 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.166 H 265.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#284BB0
RGBrgb(40, 75, 176)
HSLhsl(225, 63%, 42%)
HSVhsv(225, 77%, 69%)
CMYKcmyk(77.3%, 57.4%, 0%, 31%)
CIE-LABlab(35.24, 24.47, -57.41)
CIE-LCHlch(35.24, 62.41, 293.08°)
OKLaboklab(45.07% -0.0129 -0.1657)
OKLCHoklch(45.07% 0.166 265.5)
XYZxyz(11.2249, 8.6166, 42.1375)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284BB0 #B08D28
analogous
#288FB0 #284BB0 #4928B0
triadic
#284BB0 #B0284B #4BB028
tetradic
#284BB0 #B0288F #B08D28 #28B049
square
#284BB0 #B0288F #B08D28 #28B049
split-complementary
#284BB0 #B04928 #8FB028
monochromatic
#11204C #1D367E #284BB0 #4167D4 #738FDF

Accessibility & contrast

On white

7.71
#284BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#284BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284BB0
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284BB0#FFFFFF#000000##FFFFFF
##284BB01.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #284bb0;
/* rgb */ color: rgb(40, 75, 176);
/* oklch */ color: oklch(45.1% 0.166 265.5);
Tailwind
colors: {
  custom: {
    50: '#777cc8',
    500: '#284bb0',
    950: '#000000',
  },
}
SCSS
$custom: #284bb0;
$custom-light: #777cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#284bb0",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 176
  },
  "hsl": {
    "h": 224.559,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45069,
    "c": 0.1662,
    "h": 265.5
  },
  "luminance": 0.08618
}

Semantic roles & 50–950 ramp

primary
#284BB0
secondary
#C6B06D
accent
#BC42E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #284BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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