#2C49B3#2C49B3

#2C49B3 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.172 H 267.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#2C49B3
RGBrgb(44, 73, 179)
HSLhsl(227, 61%, 44%)
HSVhsv(227, 75%, 70%)
CMYKcmyk(75.4%, 59.2%, 0%, 29.8%)
CIE-LABlab(35.11, 27.39, -59.38)
CIE-LCHlch(35.11, 65.39, 294.76°)
OKLaboklab(45.1% -0.0081 -0.1714)
OKLCHoklch(45.1% 0.172 267.3)
XYZxyz(11.5551, 8.5540, 43.6812)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C49B3 #B3962C
analogous
#2C8CB3 #2C49B3 #522CB3
triadic
#2C49B3 #B32C49 #49B32C
tetradic
#2C49B3 #B32C8C #B3962C #2CB352
square
#2C49B3 #B32C8C #B3962C #2CB352
split-complementary
#2C49B3 #B3522C #8CB32C
monochromatic
#142151 #203582 #2C49B3 #4A67D2 #7B90DF

Accessibility & contrast

On white

7.75
#2C49B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2C49B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C49B3
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C49B3#FFFFFF#000000##FFFFFF
##2C49B31.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c49b3;
/* rgb */ color: rgb(44, 73, 179);
/* oklch */ color: oklch(45.1% 0.172 267.3);
Tailwind
colors: {
  custom: {
    50: '#797bcb',
    500: '#2c49b3',
    950: '#000000',
  },
}
SCSS
$custom: #2c49b3;
$custom-light: #797bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c49b3",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 179
  },
  "hsl": {
    "h": 227.111,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45097,
    "c": 0.17164,
    "h": 267.3
  },
  "luminance": 0.08555
}

Semantic roles & 50–950 ramp

primary
#2C49B3
secondary
#C7B574
accent
#C144E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C49B3

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

Preview Lab → · Contrast checker → · Palette generator →

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