#2C46B5#2C46B5

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

Color values

HEX#2C46B5
RGBrgb(44, 70, 181)
HSLhsl(229, 61%, 44%)
HSVhsv(229, 76%, 71%)
CMYKcmyk(75.7%, 61.3%, 0%, 29%)
CIE-LABlab(34.50, 30.10, -61.56)
CIE-LCHlch(34.50, 68.53, 296.06°)
OKLaboklab(44.69% -0.006 -0.1779)
OKLCHoklch(44.69% 0.178 268.1)
XYZxyz(11.5665, 8.2507, 44.6901)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C46B5 #B59B2C
analogous
#2C8BB5 #2C46B5 #572CB5
triadic
#2C46B5 #B52C46 #46B52C
tetradic
#2C46B5 #B52C8B #B59B2C #2CB557
square
#2C46B5 #B52C8B #B59B2C #2CB557
split-complementary
#2C46B5 #B5572C #8BB52C
monochromatic
#142053 #203384 #2C46B5 #4B65D3 #7C8FDF

Accessibility & contrast

On white

7.92
#2C46B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2C46B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C46B5
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C46B5#FFFFFF#000000##FFFFFF
##2C46B51.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#004BB3
Tritanopia (blue-blind)
#006277
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c46b5;
/* rgb */ color: rgb(44, 70, 181);
/* oklch */ color: oklch(44.7% 0.178 268.1);
Tailwind
colors: {
  custom: {
    50: '#7a79cc',
    500: '#2c46b5',
    950: '#000000',
  },
}
SCSS
$custom: #2c46b5;
$custom-light: #7a79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c46b5",
  "rgb": {
    "r": 44,
    "g": 70,
    "b": 181
  },
  "hsl": {
    "h": 228.613,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44693,
    "c": 0.17799,
    "h": 268.1
  },
  "luminance": 0.08252
}

Semantic roles & 50–950 ramp

primary
#2C46B5
secondary
#C8B875
accent
#C644E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2C46B5

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

Preview Lab → · Contrast checker → · Palette generator →

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