#284D97#284D97

#284D97 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.129 H 262.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#284D97
RGBrgb(40, 77, 151)
HSLhsl(220, 58%, 37%)
HSVhsv(220, 74%, 59%)
CMYKcmyk(73.5%, 49%, 0%, 40.8%)
CIE-LABlab(33.97, 13.47, -44.47)
CIE-LCHlch(33.97, 46.47, 286.85°)
OKLaboklab(43.53% -0.017 -0.1276)
OKLCHoklch(43.53% 0.129 262.4)
XYZxyz(9.1129, 7.9923, 30.3345)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D97 #977228
analogous
#288497 #284D97 #3B2897
triadic
#284D97 #97284D #4D9728
tetradic
#284D97 #972884 #977228 #28973B
square
#284D97 #972884 #977228 #28973B
split-complementary
#284D97 #973B28 #849728
monochromatic
#0E1C36 #1B3467 #284D97 #3566C7 #648AD6

Accessibility & contrast

On white

8.08
#284D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#284D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284D97
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284D97#FFFFFF#000000##FFFFFF
##284D971.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24559A
Deuteranopia (green-blind)
#044B96
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #284d97;
/* rgb */ color: rgb(40, 77, 151);
/* oklch */ color: oklch(43.5% 0.129 262.4);
Tailwind
colors: {
  custom: {
    50: '#717eb6',
    500: '#284d97',
    950: '#000000',
  },
}
SCSS
$custom: #284d97;
$custom-light: #717eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#284d97",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 220,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43527,
    "c": 0.12875,
    "h": 262.4
  },
  "luminance": 0.07993
}

Semantic roles & 50–950 ramp

primary
#284D97
secondary
#BC9D5F
accent
#AE46E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284D97

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

Preview Lab → · Contrast checker → · Palette generator →

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