#2C49A2#2C49A2

#2C49A2 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.148 H 266.6°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2C49A2
RGBrgb(44, 73, 162)
HSLhsl(225, 57%, 40%)
HSVhsv(225, 73%, 64%)
CMYKcmyk(72.8%, 54.9%, 0%, 36.5%)
CIE-LABlab(33.79, 20.96, -51.39)
CIE-LCHlch(33.79, 55.50, 292.19°)
OKLaboklab(43.69% -0.0089 -0.148)
OKLCHoklch(43.69% 0.148 266.6)
XYZxyz(9.9406, 7.9082, 35.1780)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C49A2 #A2852C
analogous
#2C84A2 #2C49A2 #4A2CA2
triadic
#2C49A2 #A22C49 #49A22C
tetradic
#2C49A2 #A22C84 #A2852C #2CA24A
square
#2C49A2 #A22C84 #A2852C #2CA24A
split-complementary
#2C49A2 #A24A2C #84A22C
monochromatic
#121E42 #1F3372 #2C49A2 #4062CB #708AD8

Accessibility & contrast

On white

8.13
#2C49A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2C49A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C49A2
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C49A2#FFFFFF#000000##FFFFFF
##2C49A21.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c49a2;
/* rgb */ color: rgb(44, 73, 162);
/* oklch */ color: oklch(43.7% 0.148 266.6);
Tailwind
colors: {
  custom: {
    50: '#757bbe',
    500: '#2c49a2',
    950: '#000000',
  },
}
SCSS
$custom: #2c49a2;
$custom-light: #757bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2c49a2",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 162
  },
  "hsl": {
    "h": 225.254,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43691,
    "c": 0.14823,
    "h": 266.6
  },
  "luminance": 0.07909
}

Semantic roles & 50–950 ramp

primary
#2C49A2
secondary
#BFAB6A
accent
#BB47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2C49A2

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

Preview Lab → · Contrast checker → · Palette generator →

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