#2A44A1#2A44A1

#2A44A1 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.154 H 267.5°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#2A44A1
RGBrgb(42, 68, 161)
HSLhsl(227, 59%, 40%)
HSVhsv(227, 74%, 63%)
CMYKcmyk(73.9%, 57.8%, 0%, 36.9%)
CIE-LABlab(32.26, 23.66, -53.28)
CIE-LCHlch(32.26, 58.30, 293.94°)
OKLaboklab(42.49% -0.0067 -0.1536)
OKLCHoklch(42.49% 0.154 267.5)
XYZxyz(9.4528, 7.1987, 34.6026)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A44A1 #A1872A
analogous
#2A7FA1 #2A44A1 #4C2AA1
triadic
#2A44A1 #A12A44 #44A12A
tetradic
#2A44A1 #A12A7F #A1872A #2AA14C
square
#2A44A1 #A12A7F #A1872A #2AA14C
split-complementary
#2A44A1 #A14C2A #7FA12A
monochromatic
#111B40 #1D2F70 #2A44A1 #3C5CCC #6D84D9

Accessibility & contrast

On white

8.61
#2A44A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2A44A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A44A1
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A44A1#FFFFFF#000000##FFFFFF
##2A44A11.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#00479F
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a44a1;
/* rgb */ color: rgb(42, 68, 161);
/* oklch */ color: oklch(42.5% 0.154 267.5);
Tailwind
colors: {
  custom: {
    50: '#7577be',
    500: '#2a44a1',
    950: '#000000',
  },
}
SCSS
$custom: #2a44a1;
$custom-light: #7577be;
$custom-dark: #000000;
JSON
{
  "hex": "#2a44a1",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 161
  },
  "hsl": {
    "h": 226.891,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42486,
    "c": 0.1538,
    "h": 267.5
  },
  "luminance": 0.072
}

Semantic roles & 50–950 ramp

primary
#2A44A1
secondary
#C0AC67
accent
#C046E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2A44A1

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

Preview Lab → · Contrast checker → · Palette generator →

#2A44A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva