#2C46C0#2C46C0

#2C46C0 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.7% C 0.192 H 268.2°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#2C46C0
RGBrgb(44, 70, 192)
HSLhsl(229, 63%, 46%)
HSVhsv(229, 77%, 75%)
CMYKcmyk(77.1%, 63.5%, 0%, 24.7%)
CIE-LABlab(35.44, 34.16, -66.50)
CIE-LCHlch(35.44, 74.76, 297.19°)
OKLaboklab(45.68% -0.0062 -0.1924)
OKLCHoklch(45.68% 0.192 268.2)
XYZxyz(12.7400, 8.7201, 50.8707)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C46C0 #C0A62C
analogous
#2C90C0 #2C46C0 #5C2CC0
triadic
#2C46C0 #C02C46 #46C02C
tetradic
#2C46C0 #C02C90 #C0A62C #2CC05C
square
#2C46C0 #C02C90 #C0A62C #2CC05C
split-complementary
#2C46C0 #C05C2C #90C02C
monochromatic
#15225C #21348E #2C46C0 #5269D7 #8494E3

Accessibility & contrast

On white

7.65
#2C46C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2C46C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C46C0
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C46C0#FFFFFF#000000##FFFFFF
##2C46C01.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#004CBE
Tritanopia (blue-blind)
#00667C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c46c0;
/* rgb */ color: rgb(44, 70, 192);
/* oklch */ color: oklch(45.7% 0.192 268.2);
Tailwind
colors: {
  custom: {
    50: '#7d79d4',
    500: '#2c46c0',
    950: '#000000',
  },
}
SCSS
$custom: #2c46c0;
$custom-light: #7d79d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c46c0",
  "rgb": {
    "r": 44,
    "g": 70,
    "b": 192
  },
  "hsl": {
    "h": 229.459,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45678,
    "c": 0.19246,
    "h": 268.2
  },
  "luminance": 0.08722
}

Semantic roles & 50–950 ramp

primary
#2C46C0
secondary
#CCBE7C
accent
#C942E6
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2C46C0

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

Preview Lab → · Contrast checker → · Palette generator →

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