#284897#284897

#284897 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.135 H 264.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#284897
RGBrgb(40, 72, 151)
HSLhsl(223, 58%, 37%)
HSVhsv(223, 74%, 59%)
CMYKcmyk(73.5%, 52.3%, 0%, 40.8%)
CIE-LABlab(32.52, 16.84, -46.80)
CIE-LCHlch(32.52, 49.74, 289.79°)
OKLaboklab(42.43% -0.0126 -0.1346)
OKLCHoklch(42.43% 0.135 264.7)
XYZxyz(8.7764, 7.3193, 30.2224)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284897 #977728
analogous
#287F97 #284897 #402897
triadic
#284897 #972848 #489728
tetradic
#284897 #97287F #977728 #289740
square
#284897 #97287F #977728 #289740
split-complementary
#284897 #974028 #7F9728
monochromatic
#0E1A36 #1B3167 #284897 #355FC7 #6485D6

Accessibility & contrast

On white

8.52
#284897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#284897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284897
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284897#FFFFFF#000000##FFFFFF
##2848971.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16529A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #284897;
/* rgb */ color: rgb(40, 72, 151);
/* oklch */ color: oklch(42.4% 0.135 264.7);
Tailwind
colors: {
  custom: {
    50: '#717ab6',
    500: '#284897',
    950: '#000000',
  },
}
SCSS
$custom: #284897;
$custom-light: #717ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#284897",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 222.703,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42425,
    "c": 0.13515,
    "h": 264.7
  },
  "luminance": 0.0732
}

Semantic roles & 50–950 ramp

primary
#284897
secondary
#BCA15F
accent
#B546E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284897

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

Preview Lab → · Contrast checker → · Palette generator →

#284897 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva