#2A44AB#2A44AB

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

Color values

HEX#2A44AB
RGBrgb(42, 68, 171)
HSLhsl(228, 61%, 42%)
HSVhsv(228, 75%, 67%)
CMYKcmyk(75.4%, 60.2%, 0%, 32.9%)
CIE-LABlab(33.06, 27.45, -57.97)
CIE-LCHlch(33.06, 64.14, 295.34°)
OKLaboklab(43.34% -0.0065 -0.1674)
OKLCHoklch(43.34% 0.168 267.8)
XYZxyz(10.3701, 7.5656, 39.4340)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A44AB #AB912A
analogous
#2A85AB #2A44AB #512AAB
triadic
#2A44AB #AB2A44 #44AB2A
tetradic
#2A44AB #AB2A85 #AB912A #2AAB51
square
#2A44AB #AB2A85 #AB912A #2AAB51
split-complementary
#2A44AB #AB512A #85AB2A
monochromatic
#121D49 #1E307A #2A44AB #425ED1 #7388DD

Accessibility & contrast

On white

8.36
#2A44AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A44AB
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A44AB#FFFFFF#000000##FFFFFF
##2A44AB1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a44ab;
/* rgb */ color: rgb(42, 68, 171);
/* oklch */ color: oklch(43.3% 0.168 267.8);
Tailwind
colors: {
  custom: {
    50: '#7777c5',
    500: '#2a44ab',
    950: '#000000',
  },
}
SCSS
$custom: #2a44ab;
$custom-light: #7777c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a44ab",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 171
  },
  "hsl": {
    "h": 227.907,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43341,
    "c": 0.16754,
    "h": 267.8
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

primary
#2A44AB
secondary
#C4B26D
accent
#C444E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2A44AB

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

Preview Lab → · Contrast checker → · Palette generator →

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