#2E46A6#2E46A6

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

Color values

HEX#2E46A6
RGBrgb(46, 70, 166)
HSLhsl(228, 57%, 42%)
HSVhsv(228, 72%, 65%)
CMYKcmyk(72.3%, 57.8%, 0%, 34.9%)
CIE-LABlab(33.38, 24.75, -54.46)
CIE-LCHlch(33.38, 59.81, 294.44°)
OKLaboklab(43.5% -0.0044 -0.157)
OKLCHoklch(43.5% 0.157 268.4)
XYZxyz(10.1974, 7.7133, 37.0204)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E46A6 #A68E2E
analogous
#2E82A6 #2E46A6 #522EA6
triadic
#2E46A6 #A62E46 #46A62E
tetradic
#2E46A6 #A62E82 #A68E2E #2EA652
square
#2E46A6 #A62E82 #A68E2E #2EA652
split-complementary
#2E46A6 #A6522E #82A62E
monochromatic
#131E46 #213276 #2E46A6 #4660CC #7689D9

Accessibility & contrast

On white

8.26
#2E46A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E46A6
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E46A6#FFFFFF#000000##FFFFFF
##2E46A61.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e46a6;
/* rgb */ color: rgb(46, 70, 166);
/* oklch */ color: oklch(43.5% 0.157 268.4);
Tailwind
colors: {
  custom: {
    50: '#7779c1',
    500: '#2e46a6',
    950: '#000000',
  },
}
SCSS
$custom: #2e46a6;
$custom-light: #7779c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e46a6",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 166
  },
  "hsl": {
    "h": 228,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43504,
    "c": 0.15704,
    "h": 268.4
  },
  "luminance": 0.07714
}

Semantic roles & 50–950 ramp

primary
#2E46A6
secondary
#C1B06F
accent
#C148E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E46A6

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

Preview Lab → · Contrast checker → · Palette generator →

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