#2C46BA#2C46BA

#2C46BA is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.185 H 268.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2C46BA
RGBrgb(44, 70, 186)
HSLhsl(229, 62%, 45%)
HSVhsv(229, 76%, 73%)
CMYKcmyk(76.3%, 62.4%, 0%, 27.1%)
CIE-LABlab(34.92, 31.96, -63.82)
CIE-LCHlch(34.92, 71.38, 296.60°)
OKLaboklab(45.14% -0.0061 -0.1845)
OKLCHoklch(45.14% 0.185 268.1)
XYZxyz(12.0887, 8.4596, 47.4406)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C46BA #BAA02C
analogous
#2C8DBA #2C46BA #592CBA
triadic
#2C46BA #BA2C46 #46BA2C
tetradic
#2C46BA #BA2C8D #BAA02C #2CBA59
square
#2C46BA #BA2C8D #BAA02C #2CBA59
split-complementary
#2C46BA #BA592C #8DBA2C
monochromatic
#152157 #203389 #2C46BA #4E67D5 #8091E1

Accessibility & contrast

On white

7.80
#2C46BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2C46BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C46BA
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C46BA#FFFFFF#000000##FFFFFF
##2C46BA1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c46ba;
/* rgb */ color: rgb(44, 70, 186);
/* oklch */ color: oklch(45.1% 0.185 268.1);
Tailwind
colors: {
  custom: {
    50: '#7b79d0',
    500: '#2c46ba',
    950: '#000000',
  },
}
SCSS
$custom: #2c46ba;
$custom-light: #7b79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c46ba",
  "rgb": {
    "r": 44,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 229.014,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45137,
    "c": 0.18462,
    "h": 268.1
  },
  "luminance": 0.08461
}

Semantic roles & 50–950 ramp

primary
#2C46BA
secondary
#CABB78
accent
#C743E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2C46BA

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

Preview Lab → · Contrast checker → · Palette generator →

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