#2C49B2#2C49B2

#2C49B2 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.170 H 267.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#2C49B2
RGBrgb(44, 73, 178)
HSLhsl(227, 60%, 44%)
HSVhsv(227, 75%, 70%)
CMYKcmyk(75.3%, 59%, 0%, 30.2%)
CIE-LABlab(35.03, 27.01, -58.92)
CIE-LCHlch(35.03, 64.82, 294.63°)
OKLaboklab(45.01% -0.0081 -0.1701)
OKLCHoklch(45.01% 0.17 267.3)
XYZxyz(11.4543, 8.5137, 43.1505)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C49B2 #B2952C
analogous
#2C8CB2 #2C49B2 #522CB2
triadic
#2C49B2 #B22C49 #49B22C
tetradic
#2C49B2 #B22C8C #B2952C #2CB252
square
#2C49B2 #B22C8C #B2952C #2CB252
split-complementary
#2C49B2 #B2522C #8CB22C
monochromatic
#142150 #203581 #2C49B2 #4967D2 #7A90DE

Accessibility & contrast

On white

7.77
#2C49B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2C49B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C49B2
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C49B2#FFFFFF#000000##FFFFFF
##2C49B21.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c49b2;
/* rgb */ color: rgb(44, 73, 178);
/* oklch */ color: oklch(45.0% 0.170 267.3);
Tailwind
colors: {
  custom: {
    50: '#797bca',
    500: '#2c49b2',
    950: '#000000',
  },
}
SCSS
$custom: #2c49b2;
$custom-light: #797bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c49b2",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 178
  },
  "hsl": {
    "h": 227.015,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45011,
    "c": 0.17029,
    "h": 267.3
  },
  "luminance": 0.08515
}

Semantic roles & 50–950 ramp

primary
#2C49B2
secondary
#C6B473
accent
#C144E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C49B2

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

Preview Lab → · Contrast checker → · Palette generator →

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