#2C44AB#2C44AB

#2C44AB is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.4% C 0.167 H 268.4°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2C44AB
RGBrgb(44, 68, 171)
HSLhsl(229, 59%, 42%)
HSVhsv(229, 74%, 67%)
CMYKcmyk(74.3%, 60.2%, 0%, 32.9%)
CIE-LABlab(33.15, 27.69, -57.82)
CIE-LCHlch(33.15, 64.10, 295.59°)
OKLaboklab(43.44% -0.0046 -0.1669)
OKLCHoklch(43.44% 0.167 268.4)
XYZxyz(10.4540, 7.6089, 39.4379)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C44AB #AB932C
analogous
#2C84AB #2C44AB #532CAB
triadic
#2C44AB #AB2C44 #44AB2C
tetradic
#2C44AB #AB2C84 #AB932C #2CAB53
square
#2C44AB #AB2C84 #AB932C #2CAB53
split-complementary
#2C44AB #AB532C #84AB2C
monochromatic
#131D4A #1F317A #2C44AB #455FCF #7689DC

Accessibility & contrast

On white

8.33
#2C44AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2C44AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C44AB
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C44AB#FFFFFF#000000##FFFFFF
##2C44AB1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.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: #2c44ab;
/* rgb */ color: rgb(44, 68, 171);
/* oklch */ color: oklch(43.4% 0.167 268.4);
Tailwind
colors: {
  custom: {
    50: '#7877c5',
    500: '#2c44ab',
    950: '#000000',
  },
}
SCSS
$custom: #2c44ab;
$custom-light: #7877c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c44ab",
  "rgb": {
    "r": 44,
    "g": 68,
    "b": 171
  },
  "hsl": {
    "h": 228.661,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43436,
    "c": 0.16698,
    "h": 268.4
  },
  "luminance": 0.0761
}

Semantic roles & 50–950 ramp

primary
#2C44AB
secondary
#C3B46F
accent
#C546E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2C44AB

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

Preview Lab → · Contrast checker → · Palette generator →

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