#2C49AB#2C49AB

#2C49AB is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.161 H 267.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#2C49AB
RGBrgb(44, 73, 171)
HSLhsl(226, 59%, 42%)
HSVhsv(226, 74%, 67%)
CMYKcmyk(74.3%, 57.3%, 0%, 32.9%)
CIE-LABlab(34.48, 24.37, -55.66)
CIE-LCHlch(34.48, 60.76, 293.65°)
OKLaboklab(44.42% -0.0083 -0.1605)
OKLCHoklch(44.42% 0.161 267)
XYZxyz(10.7694, 8.2397, 39.5430)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C49AB #AB8E2C
analogous
#2C89AB #2C49AB #4E2CAB
triadic
#2C49AB #AB2C49 #49AB2C
tetradic
#2C49AB #AB2C89 #AB8E2C #2CAB4E
square
#2C49AB #AB2C89 #AB8E2C #2CAB4E
split-complementary
#2C49AB #AB4E2C #89AB2C
monochromatic
#131F4A #1F347A #2C49AB #4565CF #768DDC

Accessibility & contrast

On white

7.93
#2C49AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2C49AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C49AB
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C49AB#FFFFFF#000000##FFFFFF
##2C49AB1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c49ab;
/* rgb */ color: rgb(44, 73, 171);
/* oklch */ color: oklch(44.4% 0.161 267.0);
Tailwind
colors: {
  custom: {
    50: '#777bc5',
    500: '#2c49ab',
    950: '#000000',
  },
}
SCSS
$custom: #2c49ab;
$custom-light: #777bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c49ab",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 171
  },
  "hsl": {
    "h": 226.299,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44424,
    "c": 0.16074,
    "h": 267
  },
  "luminance": 0.08241
}

Semantic roles & 50–950 ramp

primary
#2C49AB
secondary
#C3B06F
accent
#BE46E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C49AB

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

Preview Lab → · Contrast checker → · Palette generator →

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