#2844A8#2844A8

#2844A8 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.0% C 0.164 H 267.1°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#2844A8
RGBrgb(40, 68, 168)
HSLhsl(227, 62%, 41%)
HSVhsv(227, 76%, 66%)
CMYKcmyk(76.2%, 59.5%, 0%, 34.1%)
CIE-LABlab(32.73, 26.08, -56.73)
CIE-LCHlch(32.73, 62.44, 294.69°)
OKLaboklab(42.99% -0.0083 -0.1638)
OKLCHoklch(42.99% 0.164 267.1)
XYZxyz(10.0076, 7.4114, 37.9413)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2844A8 #A88C28
analogous
#2884A8 #2844A8 #4C28A8
triadic
#2844A8 #A82844 #44A828
tetradic
#2844A8 #A82884 #A88C28 #28A84C
square
#2844A8 #A82884 #A88C28 #28A84C
split-complementary
#2844A8 #A84C28 #84A828
monochromatic
#101C45 #1C3077 #2844A8 #3D5DD1 #6E86DC

Accessibility & contrast

On white

8.46
#2844A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2844A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2844A8
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2844A8#FFFFFF#000000##FFFFFF
##2844A81.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#005D6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2844a8;
/* rgb */ color: rgb(40, 68, 168);
/* oklch */ color: oklch(43.0% 0.164 267.1);
Tailwind
colors: {
  custom: {
    50: '#7677c3',
    500: '#2844a8',
    950: '#000000',
  },
}
SCSS
$custom: #2844a8;
$custom-light: #7677c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2844a8",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 168
  },
  "hsl": {
    "h": 226.875,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42989,
    "c": 0.16402,
    "h": 267.1
  },
  "luminance": 0.07413
}

Semantic roles & 50–950 ramp

primary
#2844A8
secondary
#C3AF69
accent
#C143E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2844A8

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

Preview Lab → · Contrast checker → · Palette generator →

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