#2E46A5#2E46A5

#2E46A5 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.156 H 268.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#2E46A5
RGBrgb(46, 70, 165)
HSLhsl(228, 56%, 41%)
HSVhsv(228, 72%, 65%)
CMYKcmyk(72.1%, 57.6%, 0%, 35.3%)
CIE-LABlab(33.30, 24.37, -53.98)
CIE-LCHlch(33.30, 59.23, 294.30°)
OKLaboklab(43.42% -0.0044 -0.1556)
OKLCHoklch(43.42% 0.156 268.4)
XYZxyz(10.1061, 7.6767, 36.5392)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E46A5 #A58D2E
analogous
#2E82A5 #2E46A5 #522EA5
triadic
#2E46A5 #A52E46 #46A52E
tetradic
#2E46A5 #A52E82 #A58D2E #2EA552
square
#2E46A5 #A52E82 #A58D2E #2EA552
split-complementary
#2E46A5 #A5522E #82A52E
monochromatic
#131D45 #213275 #2E46A5 #4560CB #7589D8

Accessibility & contrast

On white

8.28
#2E46A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2E46A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E46A5
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E46A5#FFFFFF#000000##FFFFFF
##2E46A51.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e46a5;
/* rgb */ color: rgb(46, 70, 165);
/* oklch */ color: oklch(43.4% 0.156 268.4);
Tailwind
colors: {
  custom: {
    50: '#7779c0',
    500: '#2e46a5',
    950: '#000000',
  },
}
SCSS
$custom: #2e46a5;
$custom-light: #7779c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e46a5",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 165
  },
  "hsl": {
    "h": 227.899,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43421,
    "c": 0.15565,
    "h": 268.4
  },
  "luminance": 0.07678
}

Semantic roles & 50–950 ramp

primary
#2E46A5
secondary
#C0B06F
accent
#C148E0
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E46A5

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

Preview Lab → · Contrast checker → · Palette generator →

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