#2C46B6#2C46B6

#2C46B6 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.179 H 268.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#2C46B6
RGBrgb(44, 70, 182)
HSLhsl(229, 61%, 44%)
HSVhsv(229, 76%, 71%)
CMYKcmyk(75.8%, 61.5%, 0%, 28.6%)
CIE-LABlab(34.58, 30.48, -62.02)
CIE-LCHlch(34.58, 69.10, 296.17°)
OKLaboklab(44.78% -0.006 -0.1792)
OKLCHoklch(44.78% 0.179 268.1)
XYZxyz(11.6694, 8.2919, 45.2324)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C46B6 #B69C2C
analogous
#2C8BB6 #2C46B6 #572CB6
triadic
#2C46B6 #B62C46 #46B62C
tetradic
#2C46B6 #B62C8B #B69C2C #2CB657
square
#2C46B6 #B62C8B #B69C2C #2CB657
split-complementary
#2C46B6 #B6572C #8BB62C
monochromatic
#142053 #203385 #2C46B6 #4C65D4 #7D8FE0

Accessibility & contrast

On white

7.90
#2C46B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2C46B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C46B6
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C46B6#FFFFFF#000000##FFFFFF
##2C46B61.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#004BB4
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c46b6;
/* rgb */ color: rgb(44, 70, 182);
/* oklch */ color: oklch(44.8% 0.179 268.1);
Tailwind
colors: {
  custom: {
    50: '#7a79cd',
    500: '#2c46b6',
    950: '#000000',
  },
}
SCSS
$custom: #2c46b6;
$custom-light: #7a79cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c46b6",
  "rgb": {
    "r": 44,
    "g": 70,
    "b": 182
  },
  "hsl": {
    "h": 228.696,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44781,
    "c": 0.17932,
    "h": 268.1
  },
  "luminance": 0.08293
}

Semantic roles & 50–950 ramp

primary
#2C46B6
secondary
#C8B876
accent
#C644E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2C46B6

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

Preview Lab → · Contrast checker → · Palette generator →

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