#2E46AC#2E46AC

#2E46AC is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.165 H 268.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#2E46AC
RGBrgb(46, 70, 172)
HSLhsl(229, 58%, 43%)
HSVhsv(229, 73%, 67%)
CMYKcmyk(73.3%, 59.3%, 0%, 32.5%)
CIE-LABlab(33.85, 26.99, -57.27)
CIE-LCHlch(33.85, 63.31, 295.24°)
OKLaboklab(44.01% -0.0042 -0.1652)
OKLCHoklch(44.01% 0.165 268.5)
XYZxyz(10.7607, 7.9386, 39.9869)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E46AC #AC942E
analogous
#2E85AC #2E46AC #552EAC
triadic
#2E46AC #AC2E46 #46AC2E
tetradic
#2E46AC #AC2E85 #AC942E #2EAC55
square
#2E46AC #AC2E85 #AC942E #2EAC55
split-complementary
#2E46AC #AC552E #85AC2E
monochromatic
#141F4B #21327C #2E46AC #4962CE #798CDB

Accessibility & contrast

On white

8.11
#2E46AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2E46AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E46AC
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E46AC#FFFFFF#000000##FFFFFF
##2E46AC1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e46ac;
/* rgb */ color: rgb(46, 70, 172);
/* oklch */ color: oklch(44.0% 0.165 268.5);
Tailwind
colors: {
  custom: {
    50: '#7979c6',
    500: '#2e46ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e46ac;
$custom-light: #7979c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e46ac",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 228.571,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44009,
    "c": 0.16529,
    "h": 268.5
  },
  "luminance": 0.0794
}

Semantic roles & 50–950 ramp

primary
#2E46AC
secondary
#C3B472
accent
#C447E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E46AC

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

Preview Lab → · Contrast checker → · Palette generator →

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