#284FB0#284FB0

#284FB0 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.161 H 264.4°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#284FB0
RGBrgb(40, 79, 176)
HSLhsl(223, 63%, 42%)
HSVhsv(223, 77%, 69%)
CMYKcmyk(77.3%, 55.1%, 0%, 31%)
CIE-LABlab(36.32, 21.81, -55.64)
CIE-LCHlch(36.32, 59.77, 291.40°)
OKLaboklab(45.89% -0.0158 -0.1604)
OKLCHoklch(45.89% 0.161 264.4)
XYZxyz(11.5047, 9.1764, 42.2308)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284FB0 #B08928
analogous
#2893B0 #284FB0 #4528B0
triadic
#284FB0 #B0284F #4FB028
tetradic
#284FB0 #B02893 #B08928 #28B045
square
#284FB0 #B02893 #B08928 #28B045
split-complementary
#284FB0 #B04528 #93B028
monochromatic
#11224C #1D397E #284FB0 #416BD4 #7392DF

Accessibility & contrast

On white

7.41
#284FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#284FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284FB0
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284FB0#FFFFFF#000000##FFFFFF
##284FB01.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #284fb0;
/* rgb */ color: rgb(40, 79, 176);
/* oklch */ color: oklch(45.9% 0.161 264.4);
Tailwind
colors: {
  custom: {
    50: '#777fc8',
    500: '#284fb0',
    950: '#000000',
  },
}
SCSS
$custom: #284fb0;
$custom-light: #777fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#284fb0",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 176
  },
  "hsl": {
    "h": 222.794,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45887,
    "c": 0.16123,
    "h": 264.4
  },
  "luminance": 0.09178
}

Semantic roles & 50–950 ramp

primary
#284FB0
secondary
#C6AD6D
accent
#B742E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #284FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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