#2C49B1#2C49B1

#2C49B1 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.169 H 267.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#2C49B1
RGBrgb(44, 73, 177)
HSLhsl(227, 60%, 43%)
HSVhsv(227, 75%, 69%)
CMYKcmyk(75.1%, 58.8%, 0%, 30.6%)
CIE-LABlab(34.95, 26.64, -58.46)
CIE-LCHlch(34.95, 64.24, 294.50°)
OKLaboklab(44.93% -0.0081 -0.1687)
OKLCHoklch(44.93% 0.169 267.2)
XYZxyz(11.3543, 8.4737, 42.6236)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C49B1 #B1942C
analogous
#2C8BB1 #2C49B1 #512CB1
triadic
#2C49B1 #B12C49 #49B12C
tetradic
#2C49B1 #B12C8B #B1942C #2CB151
square
#2C49B1 #B12C8B #B1942C #2CB151
split-complementary
#2C49B1 #B1512C #8BB12C
monochromatic
#14214F #203580 #2C49B1 #4966D2 #7A8FDE

Accessibility & contrast

On white

7.79
#2C49B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C49B1
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C49B1#FFFFFF#000000##FFFFFF
##2C49B11.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c49b1;
/* rgb */ color: rgb(44, 73, 177);
/* oklch */ color: oklch(44.9% 0.169 267.2);
Tailwind
colors: {
  custom: {
    50: '#797bc9',
    500: '#2c49b1',
    950: '#000000',
  },
}
SCSS
$custom: #2c49b1;
$custom-light: #797bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c49b1",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 177
  },
  "hsl": {
    "h": 226.917,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44927,
    "c": 0.16894,
    "h": 267.2
  },
  "luminance": 0.08475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C49B1

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

Preview Lab → · Contrast checker → · Palette generator →

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