#284896#284896

#284896 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.134 H 264.6°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#284896
RGBrgb(40, 72, 150)
HSLhsl(223, 58%, 37%)
HSVhsv(223, 73%, 59%)
CMYKcmyk(73.3%, 52%, 0%, 41.2%)
CIE-LABlab(32.45, 16.46, -46.31)
CIE-LCHlch(32.45, 49.15, 289.56°)
OKLaboklab(42.35% -0.0127 -0.1331)
OKLCHoklch(42.35% 0.134 264.6)
XYZxyz(8.6955, 7.2869, 29.7965)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284896 #967628
analogous
#287F96 #284896 #3F2896
triadic
#284896 #962848 #489628
tetradic
#284896 #96287F #967628 #28963F
square
#284896 #96287F #967628 #28963F
split-complementary
#284896 #963F28 #7F9628
monochromatic
#0E1A35 #1B3166 #284896 #355FC6 #6384D5

Accessibility & contrast

On white

8.54
#284896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284896
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284896#FFFFFF#000000##FFFFFF
##2848961.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185299
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #284896;
/* rgb */ color: rgb(40, 72, 150);
/* oklch */ color: oklch(42.3% 0.134 264.6);
Tailwind
colors: {
  custom: {
    50: '#717ab5',
    500: '#284896',
    950: '#000000',
  },
}
SCSS
$custom: #284896;
$custom-light: #717ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#284896",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 150
  },
  "hsl": {
    "h": 222.545,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42348,
    "c": 0.13371,
    "h": 264.6
  },
  "luminance": 0.07288
}

Semantic roles & 50–950 ramp

primary
#284896
secondary
#BBA05F
accent
#B447E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284896

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

Preview Lab → · Contrast checker → · Palette generator →

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