#284FB3#284FB3

#284FB3 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.165 H 264.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#284FB3
RGBrgb(40, 79, 179)
HSLhsl(223, 63%, 43%)
HSVhsv(223, 78%, 70%)
CMYKcmyk(77.7%, 55.9%, 0%, 29.8%)
CIE-LABlab(36.55, 22.96, -57.05)
CIE-LCHlch(36.55, 61.50, 291.92°)
OKLaboklab(46.13% -0.0156 -0.1646)
OKLCHoklch(46.13% 0.165 264.6)
XYZxyz(11.8049, 9.2964, 43.8113)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284FB3 #B38C28
analogous
#2895B3 #284FB3 #4628B3
triadic
#284FB3 #B3284F #4FB328
tetradic
#284FB3 #B32895 #B38C28 #28B346
square
#284FB3 #B32895 #B38C28 #28B346
split-complementary
#284FB3 #B34628 #95B328
monochromatic
#12234F #1D3981 #284FB3 #436CD5 #7593E0

Accessibility & contrast

On white

7.34
#284FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#284FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284FB3
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284FB3#FFFFFF#000000##FFFFFF
##284FB31.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #284fb3;
/* rgb */ color: rgb(40, 79, 179);
/* oklch */ color: oklch(46.1% 0.165 264.6);
Tailwind
colors: {
  custom: {
    50: '#777fca',
    500: '#284fb3',
    950: '#000000',
  },
}
SCSS
$custom: #284fb3;
$custom-light: #777fca;
$custom-dark: #000000;
JSON
{
  "hex": "#284fb3",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 223.165,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4613,
    "c": 0.16532,
    "h": 264.6
  },
  "luminance": 0.09298
}

Semantic roles & 50–950 ramp

primary
#284FB3
secondary
#C8AF6F
accent
#B841E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #284FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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