#2844A4#2844A4

#2844A4 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.159 H 267.0°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2844A4
RGBrgb(40, 68, 164)
HSLhsl(226, 61%, 40%)
HSVhsv(226, 76%, 64%)
CMYKcmyk(75.6%, 58.5%, 0%, 35.7%)
CIE-LABlab(32.40, 24.55, -54.86)
CIE-LCHlch(32.40, 60.10, 294.11°)
OKLaboklab(42.65% -0.0084 -0.1583)
OKLCHoklch(42.65% 0.159 267)
XYZxyz(9.6407, 7.2646, 36.0089)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2844A4 #A48828
analogous
#2882A4 #2844A4 #4A28A4
triadic
#2844A4 #A42844 #44A428
tetradic
#2844A4 #A42882 #A48828 #28A44A
square
#2844A4 #A42882 #A48828 #28A44A
split-complementary
#2844A4 #A44A28 #82A428
monochromatic
#101B42 #1C3073 #2844A4 #3A5CCF #6B85DB

Accessibility & contrast

On white

8.56
#2844A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2844A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2844A4
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2844A4#FFFFFF#000000##FFFFFF
##2844A41.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#0047A2
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2844a4;
/* rgb */ color: rgb(40, 68, 164);
/* oklch */ color: oklch(42.6% 0.159 267.0);
Tailwind
colors: {
  custom: {
    50: '#7577c0',
    500: '#2844a4',
    950: '#000000',
  },
}
SCSS
$custom: #2844a4;
$custom-light: #7577c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2844a4",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 164
  },
  "hsl": {
    "h": 226.452,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.42646,
    "c": 0.15853,
    "h": 267
  },
  "luminance": 0.07266
}

Semantic roles & 50–950 ramp

primary
#2844A4
secondary
#C1AD66
accent
#C044E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2844A4

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

Preview Lab → · Contrast checker → · Palette generator →

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