#2844AB#2844AB

#2844AB is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.3% C 0.168 H 267.2°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#2844AB
RGBrgb(40, 68, 171)
HSLhsl(227, 62%, 41%)
HSVhsv(227, 77%, 67%)
CMYKcmyk(76.6%, 60.2%, 0%, 32.9%)
CIE-LABlab(32.97, 27.22, -58.12)
CIE-LCHlch(32.97, 64.18, 295.09°)
OKLaboklab(43.25% -0.0082 -0.1679)
OKLCHoklch(43.25% 0.168 267.2)
XYZxyz(10.2903, 7.5245, 39.4302)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2844AB #AB8F28
analogous
#2886AB #2844AB #4E28AB
triadic
#2844AB #AB2844 #44AB28
tetradic
#2844AB #AB2886 #AB8F28 #28AB4E
square
#2844AB #AB2886 #AB8F28 #28AB4E
split-complementary
#2844AB #AB4E28 #86AB28
monochromatic
#111D48 #1C3079 #2844AB #3E5ED2 #7087DE

Accessibility & contrast

On white

8.38
#2844AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2844AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2844AB
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2844AB#FFFFFF#000000##FFFFFF
##2844AB1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2844ab;
/* rgb */ color: rgb(40, 68, 171);
/* oklch */ color: oklch(43.3% 0.168 267.2);
Tailwind
colors: {
  custom: {
    50: '#7677c5',
    500: '#2844ab',
    950: '#000000',
  },
}
SCSS
$custom: #2844ab;
$custom-light: #7677c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2844ab",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 171
  },
  "hsl": {
    "h": 227.176,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4325,
    "c": 0.16809,
    "h": 267.2
  },
  "luminance": 0.07526
}

Semantic roles & 50–950 ramp

primary
#2844AB
secondary
#C4B16A
accent
#C243E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2844AB

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

Preview Lab → · Contrast checker → · Palette generator →

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