#284CA7#284CA7

#284CA7 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.5% C 0.153 H 264.6°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#284CA7
RGBrgb(40, 76, 167)
HSLhsl(223, 61%, 41%)
HSVhsv(223, 76%, 65%)
CMYKcmyk(76%, 54.5%, 0%, 34.5%)
CIE-LABlab(34.82, 20.34, -52.73)
CIE-LCHlch(34.82, 56.51, 291.10°)
OKLaboklab(44.54% -0.0143 -0.1519)
OKLCHoklch(44.54% 0.153 264.6)
XYZxyz(10.4321, 8.4089, 37.6250)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284CA7 #A78328
analogous
#288BA7 #284CA7 #4328A7
triadic
#284CA7 #A7284C #4CA728
tetradic
#284CA7 #A7288B #A78328 #28A743
square
#284CA7 #A7288B #A78328 #28A743
split-complementary
#284CA7 #A74328 #8BA728
monochromatic
#101F44 #1C3676 #284CA7 #3C66D0 #6D8DDC

Accessibility & contrast

On white

7.83
#284CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#284CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284CA7
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284CA7#FFFFFF#000000##FFFFFF
##284CA71.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AA
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #284ca7;
/* rgb */ color: rgb(40, 76, 167);
/* oklch */ color: oklch(44.5% 0.153 264.6);
Tailwind
colors: {
  custom: {
    50: '#757dc2',
    500: '#284ca7',
    950: '#000000',
  },
}
SCSS
$custom: #284ca7;
$custom-light: #757dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#284ca7",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 222.992,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44539,
    "c": 0.15258,
    "h": 264.6
  },
  "luminance": 0.0841
}

Semantic roles & 50–950 ramp

primary
#284CA7
secondary
#C3A968
accent
#B743E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #284CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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