#2844AE#2844AE

#2844AE is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.5% C 0.172 H 267.3°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2844AE
RGBrgb(40, 68, 174)
HSLhsl(227, 63%, 42%)
HSVhsv(227, 77%, 68%)
CMYKcmyk(77%, 60.9%, 0%, 31.8%)
CIE-LABlab(33.22, 28.35, -59.50)
CIE-LCHlch(33.22, 65.91, 295.48°)
OKLaboklab(43.51% -0.0082 -0.1719)
OKLCHoklch(43.51% 0.172 267.3)
XYZxyz(10.5795, 7.6402, 40.9533)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2844AE #AE9228
analogous
#2887AE #2844AE #4F28AE
triadic
#2844AE #AE2844 #44AE28
tetradic
#2844AE #AE2887 #AE9228 #28AE4F
square
#2844AE #AE2887 #AE9228 #28AE4F
split-complementary
#2844AE #AE4F28 #87AE28
monochromatic
#111D4A #1D317C #2844AE #405FD3 #7289DF

Accessibility & contrast

On white

8.31
#2844AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2844AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2844AE
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2844AE#FFFFFF#000000##FFFFFF
##2844AE1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2844ae;
/* rgb */ color: rgb(40, 68, 174);
/* oklch */ color: oklch(43.5% 0.172 267.3);
Tailwind
colors: {
  custom: {
    50: '#7777c7',
    500: '#2844ae',
    950: '#000000',
  },
}
SCSS
$custom: #2844ae;
$custom-light: #7777c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2844ae",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 174
  },
  "hsl": {
    "h": 227.463,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43513,
    "c": 0.17215,
    "h": 267.3
  },
  "luminance": 0.07641
}

Semantic roles & 50–950 ramp

primary
#2844AE
secondary
#C6B36C
accent
#C442E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2844AE

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

Preview Lab → · Contrast checker → · Palette generator →

#2844AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva