#2C49B5#2C49B5

#2C49B5 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.174 H 267.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2C49B5
RGBrgb(44, 73, 181)
HSLhsl(227, 61%, 44%)
HSVhsv(227, 76%, 71%)
CMYKcmyk(75.7%, 59.7%, 0%, 29%)
CIE-LABlab(35.27, 28.14, -60.30)
CIE-LCHlch(35.27, 66.54, 295.01°)
OKLaboklab(45.27% -0.008 -0.1741)
OKLCHoklch(45.27% 0.174 267.4)
XYZxyz(11.7588, 8.6355, 44.7542)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C49B5 #B5982C
analogous
#2C8EB5 #2C49B5 #532CB5
triadic
#2C49B5 #B52C49 #49B52C
tetradic
#2C49B5 #B52C8E #B5982C #2CB553
square
#2C49B5 #B52C8E #B5982C #2CB553
split-complementary
#2C49B5 #B5532C #8EB52C
monochromatic
#142153 #203584 #2C49B5 #4B68D3 #7C91DF

Accessibility & contrast

On white

7.70
#2C49B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2C49B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C49B5
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C49B5#FFFFFF#000000##FFFFFF
##2C49B51.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c49b5;
/* rgb */ color: rgb(44, 73, 181);
/* oklch */ color: oklch(45.3% 0.174 267.4);
Tailwind
colors: {
  custom: {
    50: '#7a7bcc',
    500: '#2c49b5',
    950: '#000000',
  },
}
SCSS
$custom: #2c49b5;
$custom-light: #7a7bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c49b5",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 181
  },
  "hsl": {
    "h": 227.299,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45268,
    "c": 0.17434,
    "h": 267.4
  },
  "luminance": 0.08637
}

Semantic roles & 50–950 ramp

primary
#2C49B5
secondary
#C8B675
accent
#C244E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2C49B5

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

Preview Lab → · Contrast checker → · Palette generator →

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