#284B97#284B97

#284B97 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.131 H 263.3°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#284B97
RGBrgb(40, 75, 151)
HSLhsl(221, 58%, 37%)
HSVhsv(221, 74%, 59%)
CMYKcmyk(73.5%, 50.3%, 0%, 40.8%)
CIE-LABlab(33.39, 14.82, -45.41)
CIE-LCHlch(33.39, 47.77, 288.07°)
OKLaboklab(43.08% -0.0152 -0.1304)
OKLCHoklch(43.08% 0.131 263.3)
XYZxyz(8.9751, 7.7167, 30.2886)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B97 #977428
analogous
#288397 #284B97 #3C2897
triadic
#284B97 #97284B #4B9728
tetradic
#284B97 #972883 #977428 #28973C
square
#284B97 #972883 #977428 #28973C
split-complementary
#284B97 #973C28 #839728
monochromatic
#0E1B36 #1B3367 #284B97 #3563C7 #6488D6

Accessibility & contrast

On white

8.26
#284B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284B97
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B97#FFFFFF#000000##FFFFFF
##284B971.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F549A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #284b97;
/* rgb */ color: rgb(40, 75, 151);
/* oklch */ color: oklch(43.1% 0.131 263.3);
Tailwind
colors: {
  custom: {
    50: '#717cb6',
    500: '#284b97',
    950: '#000000',
  },
}
SCSS
$custom: #284b97;
$custom-light: #717cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#284b97",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 221.081,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43083,
    "c": 0.1313,
    "h": 263.3
  },
  "luminance": 0.07718
}

Semantic roles & 50–950 ramp

primary
#284B97
secondary
#BC9E5F
accent
#B146E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284B97

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

Preview Lab → · Contrast checker → · Palette generator →

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