#2844A5#2844A5

#2844A5 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.7% C 0.160 H 267.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2844A5
RGBrgb(40, 68, 165)
HSLhsl(227, 61%, 40%)
HSVhsv(227, 76%, 65%)
CMYKcmyk(75.8%, 58.8%, 0%, 35.3%)
CIE-LABlab(32.48, 24.93, -55.33)
CIE-LCHlch(32.48, 60.69, 294.26°)
OKLaboklab(42.73% -0.0084 -0.1597)
OKLCHoklch(42.73% 0.16 267)
XYZxyz(9.7314, 7.3009, 36.4864)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2844A5 #A58928
analogous
#2882A5 #2844A5 #4A28A5
triadic
#2844A5 #A52844 #44A528
tetradic
#2844A5 #A52882 #A58928 #28A54A
square
#2844A5 #A52882 #A58928 #28A54A
split-complementary
#2844A5 #A54A28 #82A528
monochromatic
#101B42 #1C3074 #2844A5 #3B5CCF #6C85DB

Accessibility & contrast

On white

8.54
#2844A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2844A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2844A5
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2844A5#FFFFFF#000000##FFFFFF
##2844A51.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2844a5;
/* rgb */ color: rgb(40, 68, 165);
/* oklch */ color: oklch(42.7% 0.160 267.0);
Tailwind
colors: {
  custom: {
    50: '#7577c0',
    500: '#2844a5',
    950: '#000000',
  },
}
SCSS
$custom: #2844a5;
$custom-light: #7577c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2844a5",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 165
  },
  "hsl": {
    "h": 226.56,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42731,
    "c": 0.15991,
    "h": 267
  },
  "luminance": 0.07302
}

Semantic roles & 50–950 ramp

primary
#2844A5
secondary
#C2AE67
accent
#C044E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2844A5

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

Preview Lab → · Contrast checker → · Palette generator →

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