#2C46B2#2C46B2

#2C46B2 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.174 H 268.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2C46B2
RGBrgb(44, 70, 178)
HSLhsl(228, 60%, 44%)
HSVhsv(228, 75%, 70%)
CMYKcmyk(75.3%, 60.7%, 0%, 30.2%)
CIE-LABlab(34.25, 28.99, -60.20)
CIE-LCHlch(34.25, 66.81, 295.71°)
OKLaboklab(44.43% -0.006 -0.1739)
OKLCHoklch(44.43% 0.174 268)
XYZxyz(11.2620, 8.1289, 43.0864)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C46B2 #B2982C
analogous
#2C89B2 #2C46B2 #552CB2
triadic
#2C46B2 #B22C46 #46B22C
tetradic
#2C46B2 #B22C89 #B2982C #2CB255
square
#2C46B2 #B22C89 #B2982C #2CB255
split-complementary
#2C46B2 #B2552C #89B22C
monochromatic
#141F50 #203381 #2C46B2 #4964D2 #7A8EDE

Accessibility & contrast

On white

8.00
#2C46B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2C46B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C46B2
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C46B2#FFFFFF#000000##FFFFFF
##2C46B21.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c46b2;
/* rgb */ color: rgb(44, 70, 178);
/* oklch */ color: oklch(44.4% 0.174 268.0);
Tailwind
colors: {
  custom: {
    50: '#7979ca',
    500: '#2c46b2',
    950: '#000000',
  },
}
SCSS
$custom: #2c46b2;
$custom-light: #7979ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c46b2",
  "rgb": {
    "r": 44,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 228.358,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4443,
    "c": 0.17397,
    "h": 268
  },
  "luminance": 0.0813
}

Semantic roles & 50–950 ramp

primary
#2C46B2
secondary
#C6B673
accent
#C544E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2C46B2

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

Preview Lab → · Contrast checker → · Palette generator →

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