#2844B1#2844B1

#2844B1 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.176 H 267.3°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#2844B1
RGBrgb(40, 68, 177)
HSLhsl(228, 63%, 43%)
HSVhsv(228, 77%, 69%)
CMYKcmyk(77.4%, 61.6%, 0%, 30.6%)
CIE-LABlab(33.47, 29.48, -60.87)
CIE-LCHlch(33.47, 67.64, 295.84°)
OKLaboklab(43.78% -0.0082 -0.176)
OKLCHoklch(43.78% 0.176 267.3)
XYZxyz(10.8752, 7.7585, 42.5108)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2844B1 #B19528
analogous
#2889B1 #2844B1 #5028B1
triadic
#2844B1 #B12844 #44B128
tetradic
#2844B1 #B12889 #B19528 #28B150
square
#2844B1 #B12889 #B19528 #28B150
split-complementary
#2844B1 #B15028 #89B128
monochromatic
#111E4D #1D317F #2844B1 #4260D4 #748AE0

Accessibility & contrast

On white

8.23
#2844B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2844B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2844B1
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2844B1#FFFFFF#000000##FFFFFF
##2844B11.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#0048AF
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2844b1;
/* rgb */ color: rgb(40, 68, 177);
/* oklch */ color: oklch(43.8% 0.176 267.3);
Tailwind
colors: {
  custom: {
    50: '#7877c9',
    500: '#2844b1',
    950: '#000000',
  },
}
SCSS
$custom: #2844b1;
$custom-light: #7877c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2844b1",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 177
  },
  "hsl": {
    "h": 227.737,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4378,
    "c": 0.17616,
    "h": 267.3
  },
  "luminance": 0.0776
}

Semantic roles & 50–950 ramp

primary
#2844B1
secondary
#C7B56E
accent
#C542E6
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2844B1

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

Preview Lab → · Contrast checker → · Palette generator →

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