#284CB3#284CB3

#284CB3 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.169 H 265.4°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#284CB3
RGBrgb(40, 76, 179)
HSLhsl(224, 63%, 43%)
HSVhsv(224, 78%, 70%)
CMYKcmyk(77.7%, 57.5%, 0%, 29.8%)
CIE-LABlab(35.74, 24.95, -58.37)
CIE-LCHlch(35.74, 63.48, 293.15°)
OKLaboklab(45.52% -0.0135 -0.1685)
OKLCHoklch(45.52% 0.169 265.4)
XYZxyz(11.5933, 8.8734, 43.7408)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284CB3 #B38F28
analogous
#2892B3 #284CB3 #4928B3
triadic
#284CB3 #B3284C #4CB328
tetradic
#284CB3 #B32892 #B38F28 #28B349
square
#284CB3 #B32892 #B38F28 #28B349
split-complementary
#284CB3 #B34928 #92B328
monochromatic
#12224F #1D3781 #284CB3 #4369D5 #7591E0

Accessibility & contrast

On white

7.57
#284CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#284CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284CB3
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284CB3#FFFFFF#000000##FFFFFF
##284CB31.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #284cb3;
/* rgb */ color: rgb(40, 76, 179);
/* oklch */ color: oklch(45.5% 0.169 265.4);
Tailwind
colors: {
  custom: {
    50: '#787dcb',
    500: '#284cb3',
    950: '#000000',
  },
}
SCSS
$custom: #284cb3;
$custom-light: #787dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#284cb3",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 224.46,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45521,
    "c": 0.16904,
    "h": 265.4
  },
  "luminance": 0.08875
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #284CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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