#2E46AB#2E46AB

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

Color values

HEX#2E46AB
RGBrgb(46, 70, 171)
HSLhsl(228, 58%, 43%)
HSVhsv(228, 73%, 67%)
CMYKcmyk(73.1%, 59.1%, 0%, 32.9%)
CIE-LABlab(33.77, 26.62, -56.80)
CIE-LCHlch(33.77, 62.73, 295.11°)
OKLaboklab(43.92% -0.0042 -0.1639)
OKLCHoklch(43.92% 0.164 268.5)
XYZxyz(10.6650, 7.9003, 39.4830)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E46AB #AB932E
analogous
#2E85AB #2E46AB #542EAB
triadic
#2E46AB #AB2E46 #46AB2E
tetradic
#2E46AB #AB2E85 #AB932E #2EAB54
square
#2E46AB #AB2E85 #AB932E #2EAB54
split-complementary
#2E46AB #AB542E #85AB2E
monochromatic
#141F4B #21327B #2E46AB #4862CE #798BDB

Accessibility & contrast

On white

8.14
#2E46AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2E46AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E46AB
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E46AB#FFFFFF#000000##FFFFFF
##2E46AB1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e46ab;
/* rgb */ color: rgb(46, 70, 171);
/* oklch */ color: oklch(43.9% 0.164 268.5);
Tailwind
colors: {
  custom: {
    50: '#7879c5',
    500: '#2e46ab',
    950: '#000000',
  },
}
SCSS
$custom: #2e46ab;
$custom-light: #7879c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e46ab",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 171
  },
  "hsl": {
    "h": 228.48,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43924,
    "c": 0.16392,
    "h": 268.5
  },
  "luminance": 0.07901
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E46AB

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

Preview Lab → · Contrast checker → · Palette generator →

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