#2A44AA#2A44AA

#2A44AA is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.3% C 0.166 H 267.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#2A44AA
RGBrgb(42, 68, 170)
HSLhsl(228, 60%, 42%)
HSVhsv(228, 75%, 67%)
CMYKcmyk(75.3%, 60%, 0%, 33.3%)
CIE-LABlab(32.98, 27.07, -57.51)
CIE-LCHlch(32.98, 63.56, 295.21°)
OKLaboklab(43.25% -0.0065 -0.1661)
OKLCHoklch(43.25% 0.166 267.8)
XYZxyz(10.2751, 7.5277, 38.9339)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A44AA #AA902A
analogous
#2A84AA #2A44AA #502AAA
triadic
#2A44AA #AA2A44 #44AA2A
tetradic
#2A44AA #AA2A84 #AA902A #2AAA50
square
#2A44AA #AA2A84 #AA902A #2AAA50
split-complementary
#2A44AA #AA502A #84AA2A
monochromatic
#121D48 #1E3079 #2A44AA #415ED0 #7288DC

Accessibility & contrast

On white

8.38
#2A44AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2A44AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A44AA
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A44AA#FFFFFF#000000##FFFFFF
##2A44AA1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a44aa;
/* rgb */ color: rgb(42, 68, 170);
/* oklch */ color: oklch(43.3% 0.166 267.8);
Tailwind
colors: {
  custom: {
    50: '#7777c4',
    500: '#2a44aa',
    950: '#000000',
  },
}
SCSS
$custom: #2a44aa;
$custom-light: #7777c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a44aa",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 170
  },
  "hsl": {
    "h": 227.813,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43254,
    "c": 0.16619,
    "h": 267.8
  },
  "luminance": 0.07529
}

Semantic roles & 50–950 ramp

primary
#2A44AA
secondary
#C3B26C
accent
#C344E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2A44AA

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

Preview Lab → · Contrast checker → · Palette generator →

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