#2E46A4#2E46A4

#2E46A4 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.154 H 268.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2E46A4
RGBrgb(46, 70, 164)
HSLhsl(228, 56%, 41%)
HSVhsv(228, 72%, 64%)
CMYKcmyk(72%, 57.3%, 0%, 35.7%)
CIE-LABlab(33.22, 24.00, -53.51)
CIE-LCHlch(33.22, 58.64, 294.15°)
OKLaboklab(43.34% -0.0044 -0.1542)
OKLCHoklch(43.34% 0.154 268.4)
XYZxyz(10.0154, 7.6405, 36.0617)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E46A4 #A48C2E
analogous
#2E81A4 #2E46A4 #512EA4
triadic
#2E46A4 #A42E46 #46A42E
tetradic
#2E46A4 #A42E81 #A48C2E #2EA451
square
#2E46A4 #A42E81 #A48C2E #2EA451
split-complementary
#2E46A4 #A4512E #81A42E
monochromatic
#131D44 #213274 #2E46A4 #4560CB #7489D8

Accessibility & contrast

On white

8.31
#2E46A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2E46A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E46A4
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E46A4#FFFFFF#000000##FFFFFF
##2E46A41.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.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: #2e46a4;
/* rgb */ color: rgb(46, 70, 164);
/* oklch */ color: oklch(43.3% 0.154 268.4);
Tailwind
colors: {
  custom: {
    50: '#7779c0',
    500: '#2e46a4',
    950: '#000000',
  },
}
SCSS
$custom: #2e46a4;
$custom-light: #7779c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e46a4",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 164
  },
  "hsl": {
    "h": 227.797,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43338,
    "c": 0.15425,
    "h": 268.4
  },
  "luminance": 0.07641
}

Semantic roles & 50–950 ramp

primary
#2E46A4
secondary
#C0AF6E
accent
#C148DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E46A4

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

Preview Lab → · Contrast checker → · Palette generator →

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