#2844B3#2844B3

#2844B3 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.0% C 0.179 H 267.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#2844B3
RGBrgb(40, 68, 179)
HSLhsl(228, 63%, 43%)
HSVhsv(228, 78%, 70%)
CMYKcmyk(77.7%, 62%, 0%, 29.8%)
CIE-LABlab(33.64, 30.24, -61.78)
CIE-LCHlch(33.64, 68.79, 296.08°)
OKLaboklab(43.96% -0.0082 -0.1786)
OKLCHoklch(43.96% 0.179 267.4)
XYZxyz(11.0760, 7.8388, 43.5684)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2844B3 #B39728
analogous
#2889B3 #2844B3 #5228B3
triadic
#2844B3 #B32844 #44B328
tetradic
#2844B3 #B32889 #B39728 #28B352
square
#2844B3 #B32889 #B39728 #28B352
split-complementary
#2844B3 #B35228 #89B328
monochromatic
#121E4F #1D3181 #2844B3 #4361D5 #758BE0

Accessibility & contrast

On white

8.18
#2844B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2844B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2844B3
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2844B3#FFFFFF#000000##FFFFFF
##2844B31.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2844b3;
/* rgb */ color: rgb(40, 68, 179);
/* oklch */ color: oklch(44.0% 0.179 267.4);
Tailwind
colors: {
  custom: {
    50: '#7877cb',
    500: '#2844b3',
    950: '#000000',
  },
}
SCSS
$custom: #2844b3;
$custom-light: #7877cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2844b3",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 179
  },
  "hsl": {
    "h": 227.914,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43958,
    "c": 0.17883,
    "h": 267.4
  },
  "luminance": 0.0784
}

Semantic roles & 50–950 ramp

primary
#2844B3
secondary
#C8B66F
accent
#C541E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2844B3

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

Preview Lab → · Contrast checker → · Palette generator →

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