#2E46AA#2E46AA

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

Color values

HEX#2E46AA
RGBrgb(46, 70, 170)
HSLhsl(228, 57%, 42%)
HSVhsv(228, 73%, 67%)
CMYKcmyk(72.9%, 58.8%, 0%, 33.3%)
CIE-LABlab(33.69, 26.25, -56.34)
CIE-LCHlch(33.69, 62.15, 294.98°)
OKLaboklab(43.84% -0.0042 -0.1625)
OKLCHoklch(43.84% 0.163 268.5)
XYZxyz(10.5701, 7.8623, 38.9829)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E46AA #AA922E
analogous
#2E84AA #2E46AA #542EAA
triadic
#2E46AA #AA2E46 #46AA2E
tetradic
#2E46AA #AA2E84 #AA922E #2EAA54
square
#2E46AA #AA2E84 #AA922E #2EAA54
split-complementary
#2E46AA #AA542E #84AA2E
monochromatic
#141E4A #21327A #2E46AA #4862CD #788BDA

Accessibility & contrast

On white

8.16
#2E46AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E46AA
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E46AA#FFFFFF#000000##FFFFFF
##2E46AA1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e46aa;
/* rgb */ color: rgb(46, 70, 170);
/* oklch */ color: oklch(43.8% 0.163 268.5);
Tailwind
colors: {
  custom: {
    50: '#7879c4',
    500: '#2e46aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e46aa;
$custom-light: #7879c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e46aa",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 228.387,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43839,
    "c": 0.16256,
    "h": 268.5
  },
  "luminance": 0.07863
}

Semantic roles & 50–950 ramp

primary
#2E46AA
secondary
#C3B371
accent
#C347E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E46AA

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

Preview Lab → · Contrast checker → · Palette generator →

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