#2844B0#2844B0

#2844B0 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.175 H 267.3°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#2844B0
RGBrgb(40, 68, 176)
HSLhsl(228, 63%, 42%)
HSVhsv(228, 77%, 69%)
CMYKcmyk(77.3%, 61.4%, 0%, 31%)
CIE-LABlab(33.39, 29.11, -60.42)
CIE-LCHlch(33.39, 67.06, 295.72°)
OKLaboklab(43.69% -0.0082 -0.1746)
OKLCHoklch(43.69% 0.175 267.3)
XYZxyz(10.7759, 7.7187, 41.9878)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2844B0 #B09428
analogous
#2888B0 #2844B0 #5028B0
triadic
#2844B0 #B02844 #44B028
tetradic
#2844B0 #B02888 #B09428 #28B050
square
#2844B0 #B02888 #B09428 #28B050
split-complementary
#2844B0 #B05028 #88B028
monochromatic
#111D4C #1D317E #2844B0 #415FD4 #7389DF

Accessibility & contrast

On white

8.25
#2844B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2844B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2844B0
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2844B0#FFFFFF#000000##FFFFFF
##2844B01.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B4
Deuteranopia (green-blind)
#0048AE
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2844b0;
/* rgb */ color: rgb(40, 68, 176);
/* oklch */ color: oklch(43.7% 0.175 267.3);
Tailwind
colors: {
  custom: {
    50: '#7777c8',
    500: '#2844b0',
    950: '#000000',
  },
}
SCSS
$custom: #2844b0;
$custom-light: #7777c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2844b0",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 176
  },
  "hsl": {
    "h": 227.647,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43691,
    "c": 0.17482,
    "h": 267.3
  },
  "luminance": 0.0772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2844B0

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

Preview Lab → · Contrast checker → · Palette generator →

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