#2C49A5#2C49A5

#2C49A5 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.152 H 266.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#2C49A5
RGBrgb(44, 73, 165)
HSLhsl(226, 58%, 41%)
HSVhsv(226, 73%, 65%)
CMYKcmyk(73.3%, 55.8%, 0%, 35.3%)
CIE-LABlab(34.02, 22.10, -52.82)
CIE-LCHlch(34.02, 57.26, 292.70°)
OKLaboklab(43.93% -0.0087 -0.1522)
OKLCHoklch(43.93% 0.152 266.7)
XYZxyz(10.2104, 8.0161, 36.5992)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C49A5 #A5882C
analogous
#2C85A5 #2C49A5 #4B2CA5
triadic
#2C49A5 #A52C49 #49A52C
tetradic
#2C49A5 #A52C85 #A5882C #2CA54B
square
#2C49A5 #A52C85 #A5882C #2CA54B
split-complementary
#2C49A5 #A54B2C #85A52C
monochromatic
#121E44 #1F3475 #2C49A5 #4263CD #728BD9

Accessibility & contrast

On white

8.07
#2C49A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2C49A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C49A5
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C49A5#FFFFFF#000000##FFFFFF
##2C49A51.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c49a5;
/* rgb */ color: rgb(44, 73, 165);
/* oklch */ color: oklch(43.9% 0.152 266.7);
Tailwind
colors: {
  custom: {
    50: '#767bc0',
    500: '#2c49a5',
    950: '#000000',
  },
}
SCSS
$custom: #2c49a5;
$custom-light: #767bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c49a5",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 165
  },
  "hsl": {
    "h": 225.62,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43932,
    "c": 0.15243,
    "h": 266.7
  },
  "luminance": 0.08017
}

Semantic roles & 50–950 ramp

primary
#2C49A5
secondary
#C1AC6C
accent
#BC47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2C49A5

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

Preview Lab → · Contrast checker → · Palette generator →

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