#2844A0#2844A0

#2844A0 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.153 H 266.8°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#2844A0
RGBrgb(40, 68, 160)
HSLhsl(226, 60%, 39%)
HSVhsv(226, 75%, 63%)
CMYKcmyk(75%, 57.5%, 0%, 37.3%)
CIE-LABlab(32.08, 23.02, -52.96)
CIE-LCHlch(32.08, 57.75, 293.49°)
OKLaboklab(42.31% -0.0086 -0.1527)
OKLCHoklch(42.31% 0.153 266.8)
XYZxyz(9.2851, 7.1224, 34.1363)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2844A0 #A08428
analogous
#2880A0 #2844A0 #4828A0
triadic
#2844A0 #A02844 #44A028
tetradic
#2844A0 #A02880 #A08428 #28A048
square
#2844A0 #A02880 #A08428 #28A048
split-complementary
#2844A0 #A04828 #80A028
monochromatic
#101A3E #1C2F6F #2844A0 #385BCD #6983D9

Accessibility & contrast

On white

8.66
#2844A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2844A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2844A0
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2844A0#FFFFFF#000000##FFFFFF
##2844A01.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2844a0;
/* rgb */ color: rgb(40, 68, 160);
/* oklch */ color: oklch(42.3% 0.153 266.8);
Tailwind
colors: {
  custom: {
    50: '#7477bd',
    500: '#2844a0',
    950: '#000000',
  },
}
SCSS
$custom: #2844a0;
$custom-light: #7477bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2844a0",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 160
  },
  "hsl": {
    "h": 226,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42308,
    "c": 0.15299,
    "h": 266.8
  },
  "luminance": 0.07123
}

Semantic roles & 50–950 ramp

primary
#2844A0
secondary
#C0AA64
accent
#BE45E3
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2844A0

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

Preview Lab → · Contrast checker → · Palette generator →

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