#2C46C2#2C46C2

#2C46C2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.9% C 0.195 H 268.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#2C46C2
RGBrgb(44, 70, 194)
HSLhsl(230, 63%, 47%)
HSVhsv(230, 77%, 76%)
CMYKcmyk(77.3%, 63.9%, 0%, 23.9%)
CIE-LABlab(35.61, 34.89, -67.39)
CIE-LCHlch(35.61, 75.88, 297.38°)
OKLaboklab(45.86% -0.0063 -0.195)
OKLCHoklch(45.86% 0.195 268.2)
XYZxyz(12.9631, 8.8094, 52.0457)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C46C2 #C2A82C
analogous
#2C91C2 #2C46C2 #5D2CC2
triadic
#2C46C2 #C22C46 #46C22C
tetradic
#2C46C2 #C22C91 #C2A82C #2CC25D
square
#2C46C2 #C22C91 #C2A82C #2CC25D
split-complementary
#2C46C2 #C25D2C #91C22C
monochromatic
#15225E #213490 #2C46C2 #536AD8 #8595E3

Accessibility & contrast

On white

7.60
#2C46C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2C46C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C46C2
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C46C2#FFFFFF#000000##FFFFFF
##2C46C21.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#004DC0
Tritanopia (blue-blind)
#00677D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c46c2;
/* rgb */ color: rgb(44, 70, 194);
/* oklch */ color: oklch(45.9% 0.195 268.2);
Tailwind
colors: {
  custom: {
    50: '#7d79d5',
    500: '#2c46c2',
    950: '#000000',
  },
}
SCSS
$custom: #2c46c2;
$custom-light: #7d79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c46c2",
  "rgb": {
    "r": 44,
    "g": 70,
    "b": 194
  },
  "hsl": {
    "h": 229.6,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45861,
    "c": 0.19505,
    "h": 268.2
  },
  "luminance": 0.08811
}

Semantic roles & 50–950 ramp

primary
#2C46C2
secondary
#CDBF7D
accent
#CA42E6
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2C46C2

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

Preview Lab → · Contrast checker → · Palette generator →

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