#2C49BA#2C49BA

#2C49BA is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.181 H 267.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#2C49BA
RGBrgb(44, 73, 186)
HSLhsl(228, 62%, 45%)
HSVhsv(228, 76%, 73%)
CMYKcmyk(76.3%, 60.8%, 0%, 27.1%)
CIE-LABlab(35.68, 30.00, -62.58)
CIE-LCHlch(35.68, 69.40, 295.62°)
OKLaboklab(45.7% -0.008 -0.1808)
OKLCHoklch(45.7% 0.181 267.5)
XYZxyz(12.2811, 8.8444, 47.5047)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C49BA #BA9D2C
analogous
#2C90BA #2C49BA #562CBA
triadic
#2C49BA #BA2C49 #49BA2C
tetradic
#2C49BA #BA2C90 #BA9D2C #2CBA56
square
#2C49BA #BA2C90 #BA9D2C #2CBA56
split-complementary
#2C49BA #BA562C #90BA2C
monochromatic
#152257 #203689 #2C49BA #4E6AD5 #8093E1

Accessibility & contrast

On white

7.58
#2C49BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2C49BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C49BA
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C49BA#FFFFFF#000000##FFFFFF
##2C49BA1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c49ba;
/* rgb */ color: rgb(44, 73, 186);
/* oklch */ color: oklch(45.7% 0.181 267.5);
Tailwind
colors: {
  custom: {
    50: '#7b7bd0',
    500: '#2c49ba',
    950: '#000000',
  },
}
SCSS
$custom: #2c49ba;
$custom-light: #7b7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c49ba",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 227.746,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45701,
    "c": 0.18102,
    "h": 267.5
  },
  "luminance": 0.08846
}

Semantic roles & 50–950 ramp

primary
#2C49BA
secondary
#CAB978
accent
#C443E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2C49BA

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

Preview Lab → · Contrast checker → · Palette generator →

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