#284BB3#284BB3

#284BB3 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.3% C 0.170 H 265.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#284BB3
RGBrgb(40, 75, 179)
HSLhsl(225, 63%, 43%)
HSVhsv(225, 78%, 70%)
CMYKcmyk(77.7%, 58.1%, 0%, 29.8%)
CIE-LABlab(35.47, 25.62, -58.80)
CIE-LCHlch(35.47, 64.14, 293.54°)
OKLaboklab(45.32% -0.0128 -0.1698)
OKLCHoklch(45.32% 0.17 265.7)
XYZxyz(11.5250, 8.7366, 43.7180)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284BB3 #B39028
analogous
#2890B3 #284BB3 #4A28B3
triadic
#284BB3 #B3284B #4BB328
tetradic
#284BB3 #B32890 #B39028 #28B34A
square
#284BB3 #B32890 #B39028 #28B34A
split-complementary
#284BB3 #B34A28 #90B328
monochromatic
#12214F #1D3681 #284BB3 #4368D5 #7590E0

Accessibility & contrast

On white

7.64
#284BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#284BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284BB3
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284BB3#FFFFFF#000000##FFFFFF
##284BB31.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #284bb3;
/* rgb */ color: rgb(40, 75, 179);
/* oklch */ color: oklch(45.3% 0.170 265.7);
Tailwind
colors: {
  custom: {
    50: '#787ccb',
    500: '#284bb3',
    950: '#000000',
  },
}
SCSS
$custom: #284bb3;
$custom-light: #787ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#284bb3",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 224.892,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45321,
    "c": 0.17027,
    "h": 265.7
  },
  "luminance": 0.08738
}

Semantic roles & 50–950 ramp

primary
#284BB3
secondary
#C8B16F
accent
#BD41E6
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #284BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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