#2C46AB#2C46AB

#2C46AB is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.164 H 267.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2C46AB
RGBrgb(44, 70, 171)
HSLhsl(228, 59%, 42%)
HSVhsv(228, 74%, 67%)
CMYKcmyk(74.3%, 59.1%, 0%, 32.9%)
CIE-LABlab(33.68, 26.36, -56.96)
CIE-LCHlch(33.68, 62.77, 294.84°)
OKLaboklab(43.83% -0.0061 -0.1644)
OKLCHoklch(43.83% 0.164 267.9)
XYZxyz(10.5770, 7.8549, 39.4789)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C46AB #AB912C
analogous
#2C85AB #2C46AB #522CAB
triadic
#2C46AB #AB2C46 #46AB2C
tetradic
#2C46AB #AB2C85 #AB912C #2CAB52
square
#2C46AB #AB2C85 #AB912C #2CAB52
split-complementary
#2C46AB #AB522C #85AB2C
monochromatic
#131E4A #1F327A #2C46AB #4561CF #768BDC

Accessibility & contrast

On white

8.17
#2C46AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2C46AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C46AB
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C46AB#FFFFFF#000000##FFFFFF
##2C46AB1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c46ab;
/* rgb */ color: rgb(44, 70, 171);
/* oklch */ color: oklch(43.8% 0.164 267.9);
Tailwind
colors: {
  custom: {
    50: '#7879c5',
    500: '#2c46ab',
    950: '#000000',
  },
}
SCSS
$custom: #2c46ab;
$custom-light: #7879c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c46ab",
  "rgb": {
    "r": 44,
    "g": 70,
    "b": 171
  },
  "hsl": {
    "h": 227.717,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43827,
    "c": 0.16449,
    "h": 267.9
  },
  "luminance": 0.07856
}

Semantic roles & 50–950 ramp

primary
#2C46AB
secondary
#C3B26F
accent
#C246E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C46AB

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

Preview Lab → · Contrast checker → · Palette generator →

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