#284D92#284D92

#284D92 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.122 H 261.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#284D92
RGBrgb(40, 77, 146)
HSLhsl(219, 57%, 36%)
HSVhsv(219, 73%, 57%)
CMYKcmyk(72.6%, 47.3%, 0%, 42.7%)
CIE-LABlab(33.63, 11.53, -41.97)
CIE-LCHlch(33.63, 43.53, 285.36°)
OKLaboklab(43.16% -0.0178 -0.1203)
OKLCHoklch(43.16% 0.122 261.6)
XYZxyz(8.7154, 7.8333, 28.2412)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D92 #926D28
analogous
#288292 #284D92 #382892
triadic
#284D92 #92284D #4D9228
tetradic
#284D92 #922882 #926D28 #289238
square
#284D92 #922882 #926D28 #289238
split-complementary
#284D92 #923828 #829228
monochromatic
#0E1A32 #1B3462 #284D92 #3566C2 #6189D4

Accessibility & contrast

On white

8.18
#284D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#284D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284D92
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284D92#FFFFFF#000000##FFFFFF
##284D921.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295495
Deuteranopia (green-blind)
#124B91
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #284d92;
/* rgb */ color: rgb(40, 77, 146);
/* oklch */ color: oklch(43.2% 0.122 261.6);
Tailwind
colors: {
  custom: {
    50: '#707eb2',
    500: '#284d92',
    950: '#000000',
  },
}
SCSS
$custom: #284d92;
$custom-light: #707eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#284d92",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 146
  },
  "hsl": {
    "h": 219.057,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43164,
    "c": 0.12158,
    "h": 261.6
  },
  "luminance": 0.07834
}

Semantic roles & 50–950 ramp

primary
#284D92
secondary
#B9995D
accent
#AB48E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #284D92

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

Preview Lab → · Contrast checker → · Palette generator →

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