#2C46A2#2C46A2

#2C46A2 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.1% C 0.152 H 267.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#2C46A2
RGBrgb(44, 70, 162)
HSLhsl(227, 57%, 40%)
HSVhsv(227, 73%, 64%)
CMYKcmyk(72.8%, 56.8%, 0%, 36.5%)
CIE-LABlab(32.97, 22.97, -52.72)
CIE-LCHlch(32.97, 57.51, 293.54°)
OKLaboklab(43.07% -0.0064 -0.1519)
OKLCHoklch(43.07% 0.152 267.6)
XYZxyz(9.7482, 7.5234, 35.1138)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C46A2 #A2882C
analogous
#2C81A2 #2C46A2 #4D2CA2
triadic
#2C46A2 #A22C46 #46A22C
tetradic
#2C46A2 #A22C81 #A2882C #2CA24D
square
#2C46A2 #A22C81 #A2882C #2CA24D
split-complementary
#2C46A2 #A24D2C #81A22C
monochromatic
#121C42 #1F3172 #2C46A2 #405FCB #7087D8

Accessibility & contrast

On white

8.38
#2C46A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2C46A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C46A2
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C46A2#FFFFFF#000000##FFFFFF
##2C46A21.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#0048A0
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c46a2;
/* rgb */ color: rgb(44, 70, 162);
/* oklch */ color: oklch(43.1% 0.152 267.6);
Tailwind
colors: {
  custom: {
    50: '#7579be',
    500: '#2c46a2',
    950: '#000000',
  },
}
SCSS
$custom: #2c46a2;
$custom-light: #7579be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c46a2",
  "rgb": {
    "r": 44,
    "g": 70,
    "b": 162
  },
  "hsl": {
    "h": 226.78,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43073,
    "c": 0.15206,
    "h": 267.6
  },
  "luminance": 0.07524
}

Semantic roles & 50–950 ramp

primary
#2C46A2
secondary
#BFAD6A
accent
#BF47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2C46A2

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

Preview Lab → · Contrast checker → · Palette generator →

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