#284FC9#284FC9

#284FC9 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.0% C 0.195 H 265.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#284FC9
RGBrgb(40, 79, 201)
HSLhsl(225, 67%, 47%)
HSVhsv(225, 80%, 79%)
CMYKcmyk(80.1%, 60.7%, 0%, 21.2%)
CIE-LABlab(38.30, 31.31, -67.07)
CIE-LCHlch(38.30, 74.02, 295.02°)
OKLaboklab(47.99% -0.0148 -0.194)
OKLCHoklch(47.99% 0.195 265.6)
XYZxyz(14.2100, 10.2584, 56.4782)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284FC9 #C9A228
analogous
#289FC9 #284FC9 #5228C9
triadic
#284FC9 #C9284F #4FC928
tetradic
#284FC9 #C9289F #C9A228 #28C952
square
#284FC9 #C9289F #C9A228 #28C952
split-complementary
#284FC9 #C95228 #9FC928
monochromatic
#142763 #1E3B96 #284FC9 #5273DD #859CE7

Accessibility & contrast

On white

6.88
#284FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#284FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #284FC9
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284FC9#FFFFFF#000000##FFFFFF
##284FC91.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CD
Deuteranopia (green-blind)
#0053C7
Tritanopia (blue-blind)
#006E84
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #284fc9;
/* rgb */ color: rgb(40, 79, 201);
/* oklch */ color: oklch(48.0% 0.195 265.6);
Tailwind
colors: {
  custom: {
    50: '#7d7fda',
    500: '#284fc9',
    950: '#000000',
  },
}
SCSS
$custom: #284fc9;
$custom-light: #7d7fda;
$custom-dark: #000000;
JSON
{
  "hex": "#284fc9",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 201
  },
  "hsl": {
    "h": 225.466,
    "s": 66.805,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47991,
    "c": 0.19456,
    "h": 265.6
  },
  "luminance": 0.1026
}

Semantic roles & 50–950 ramp

primary
#284FC9
secondary
#D0BC7D
accent
#C03EEA
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0B0A15
muted
#7C7C83

Preview Lab

Preview with #284FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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