#284C92#284C92

#284C92 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 42.9% C 0.123 H 262.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#284C92
RGBrgb(40, 76, 146)
HSLhsl(220, 57%, 36%)
HSVhsv(220, 73%, 57%)
CMYKcmyk(72.6%, 47.9%, 0%, 42.7%)
CIE-LABlab(33.34, 12.20, -42.45)
CIE-LCHlch(33.34, 44.17, 286.04°)
OKLaboklab(42.94% -0.0169 -0.1217)
OKLCHoklch(42.94% 0.123 262.1)
XYZxyz(8.6460, 7.6944, 28.2181)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284C92 #926E28
analogous
#288192 #284C92 #392892
triadic
#284C92 #92284C #4C9228
tetradic
#284C92 #922881 #926E28 #289239
square
#284C92 #922881 #926E28 #289239
split-complementary
#284C92 #923928 #819228
monochromatic
#0E1A32 #1B3362 #284C92 #3565C2 #6188D4

Accessibility & contrast

On white

8.27
#284C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#284C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284C92
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284C92#FFFFFF#000000##FFFFFF
##284C921.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275495
Deuteranopia (green-blind)
#0E4A91
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #284c92;
/* rgb */ color: rgb(40, 76, 146);
/* oklch */ color: oklch(42.9% 0.123 262.1);
Tailwind
colors: {
  custom: {
    50: '#707db2',
    500: '#284c92',
    950: '#000000',
  },
}
SCSS
$custom: #284c92;
$custom-light: #707db2;
$custom-dark: #000000;
JSON
{
  "hex": "#284c92",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 146
  },
  "hsl": {
    "h": 219.623,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42937,
    "c": 0.12284,
    "h": 262.1
  },
  "luminance": 0.07695
}

Semantic roles & 50–950 ramp

primary
#284C92
secondary
#B99A5D
accent
#AC48E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #284C92

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

Preview Lab → · Contrast checker → · Palette generator →

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