#284899#284899

#284899 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.138 H 264.9°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#284899
RGBrgb(40, 72, 153)
HSLhsl(223, 59%, 38%)
HSVhsv(223, 74%, 60%)
CMYKcmyk(73.9%, 52.9%, 0%, 40%)
CIE-LABlab(32.67, 17.62, -47.78)
CIE-LCHlch(32.67, 50.93, 290.24°)
OKLaboklab(42.58% -0.0124 -0.1374)
OKLCHoklch(42.58% 0.138 264.9)
XYZxyz(8.9402, 7.3848, 31.0851)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284899 #997928
analogous
#288099 #284899 #412899
triadic
#284899 #992848 #489928
tetradic
#284899 #992880 #997928 #289941
square
#284899 #992880 #997928 #289941
split-complementary
#284899 #994128 #809928
monochromatic
#0F1A38 #1B3168 #284899 #355FCA #6585D7

Accessibility & contrast

On white

8.48
#284899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#284899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284899
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284899#FFFFFF#000000##FFFFFF
##2848991.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12529C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #284899;
/* rgb */ color: rgb(40, 72, 153);
/* oklch */ color: oklch(42.6% 0.138 264.9);
Tailwind
colors: {
  custom: {
    50: '#727ab8',
    500: '#284899',
    950: '#000000',
  },
}
SCSS
$custom: #284899;
$custom-light: #727ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#284899",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 153
  },
  "hsl": {
    "h": 223.009,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42581,
    "c": 0.13799,
    "h": 264.9
  },
  "luminance": 0.07386
}

Semantic roles & 50–950 ramp

primary
#284899
secondary
#BDA260
accent
#B646E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284899

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

Preview Lab → · Contrast checker → · Palette generator →

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