#2C46BF#2C46BF

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

Color values

HEX#2C46BF
RGBrgb(44, 70, 191)
HSLhsl(229, 63%, 46%)
HSVhsv(229, 77%, 75%)
CMYKcmyk(77%, 63.4%, 0%, 25.1%)
CIE-LABlab(35.35, 33.80, -66.06)
CIE-LCHlch(35.35, 74.20, 297.10°)
OKLaboklab(45.59% -0.0062 -0.1911)
OKLCHoklch(45.59% 0.191 268.2)
XYZxyz(12.6296, 8.6760, 50.2891)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C46BF #BFA52C
analogous
#2C8FBF #2C46BF #5B2CBF
triadic
#2C46BF #BF2C46 #46BF2C
tetradic
#2C46BF #BF2C8F #BFA52C #2CBF5B
square
#2C46BF #BF2C8F #BFA52C #2CBF5B
split-complementary
#2C46BF #BF5B2C #8FBF2C
monochromatic
#15225C #21348D #2C46BF #5169D7 #8394E2

Accessibility & contrast

On white

7.68
#2C46BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C46BF
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C46BF#FFFFFF#000000##FFFFFF
##2C46BF1.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c46bf;
/* rgb */ color: rgb(44, 70, 191);
/* oklch */ color: oklch(45.6% 0.191 268.2);
Tailwind
colors: {
  custom: {
    50: '#7c79d3',
    500: '#2c46bf',
    950: '#000000',
  },
}
SCSS
$custom: #2c46bf;
$custom-light: #7c79d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c46bf",
  "rgb": {
    "r": 44,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 229.388,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45587,
    "c": 0.19116,
    "h": 268.2
  },
  "luminance": 0.08677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C46BF

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

Preview Lab → · Contrast checker → · Palette generator →

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