#2C46A4#2C46A4

#2C46A4 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.155 H 267.7°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#2C46A4
RGBrgb(44, 70, 164)
HSLhsl(227, 58%, 41%)
HSVhsv(227, 73%, 64%)
CMYKcmyk(73.2%, 57.3%, 0%, 35.7%)
CIE-LABlab(33.13, 23.72, -53.67)
CIE-LCHlch(33.13, 58.68, 293.85°)
OKLaboklab(43.24% -0.0063 -0.1547)
OKLCHoklch(43.24% 0.155 267.7)
XYZxyz(9.9274, 7.5951, 36.0576)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C46A4 #A48A2C
analogous
#2C82A4 #2C46A4 #4E2CA4
triadic
#2C46A4 #A42C46 #46A42C
tetradic
#2C46A4 #A42C82 #A48A2C #2CA44E
square
#2C46A4 #A42C82 #A48A2C #2CA44E
split-complementary
#2C46A4 #A44E2C #82A42C
monochromatic
#121D43 #1F3174 #2C46A4 #415FCC #7188D9

Accessibility & contrast

On white

8.34
#2C46A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2C46A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C46A4
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C46A4#FFFFFF#000000##FFFFFF
##2C46A41.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c46a4;
/* rgb */ color: rgb(44, 70, 164);
/* oklch */ color: oklch(43.2% 0.155 267.7);
Tailwind
colors: {
  custom: {
    50: '#7679c0',
    500: '#2c46a4',
    950: '#000000',
  },
}
SCSS
$custom: #2c46a4;
$custom-light: #7679c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c46a4",
  "rgb": {
    "r": 44,
    "g": 70,
    "b": 164
  },
  "hsl": {
    "h": 227,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43238,
    "c": 0.15485,
    "h": 267.7
  },
  "luminance": 0.07596
}

Semantic roles & 50–950 ramp

primary
#2C46A4
secondary
#C0AE6B
accent
#C047E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2C46A4

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

Preview Lab → · Contrast checker → · Palette generator →

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