#284698#284698

#284698 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.139 H 265.6°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#284698
RGBrgb(40, 70, 152)
HSLhsl(224, 58%, 38%)
HSVhsv(224, 74%, 60%)
CMYKcmyk(73.7%, 53.9%, 0%, 40.4%)
CIE-LABlab(32.03, 18.58, -48.21)
CIE-LCHlch(32.03, 51.67, 291.08°)
OKLaboklab(42.07% -0.0107 -0.1387)
OKLCHoklch(42.07% 0.139 265.6)
XYZxyz(8.7307, 7.0975, 30.6095)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284698 #987A28
analogous
#287E98 #284698 #422898
triadic
#284698 #982846 #469828
tetradic
#284698 #98287E #987A28 #289842
square
#284698 #98287E #987A28 #289842
split-complementary
#284698 #984228 #7E9828
monochromatic
#0F1937 #1B3068 #284698 #355CC8 #6483D6

Accessibility & contrast

On white

8.68
#284698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#284698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284698
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284698#FFFFFF#000000##FFFFFF
##2846981.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B519B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #284698;
/* rgb */ color: rgb(40, 70, 152);
/* oklch */ color: oklch(42.1% 0.139 265.6);
Tailwind
colors: {
  custom: {
    50: '#7279b7',
    500: '#284698',
    950: '#000000',
  },
}
SCSS
$custom: #284698;
$custom-light: #7279b7;
$custom-dark: #000000;
JSON
{
  "hex": "#284698",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 223.929,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42073,
    "c": 0.13915,
    "h": 265.6
  },
  "luminance": 0.07098
}

Semantic roles & 50–950 ramp

primary
#284698
secondary
#BCA360
accent
#B846E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284698

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

Preview Lab → · Contrast checker → · Palette generator →

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