#2E46B1#2E46B1

#2E46B1 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.172 H 268.6°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#2E46B1
RGBrgb(46, 70, 177)
HSLhsl(229, 59%, 44%)
HSVhsv(229, 74%, 69%)
CMYKcmyk(74%, 60.5%, 0%, 30.6%)
CIE-LABlab(34.26, 28.85, -59.58)
CIE-LCHlch(34.26, 66.20, 295.84°)
OKLaboklab(44.44% -0.0042 -0.172)
OKLCHoklch(44.44% 0.172 268.6)
XYZxyz(11.2499, 8.1343, 42.5636)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E46B1 #B1992E
analogous
#2E87B1 #2E46B1 #572EB1
triadic
#2E46B1 #B12E46 #46B12E
tetradic
#2E46B1 #B12E87 #B1992E #2EB157
square
#2E46B1 #B12E87 #B1992E #2EB157
split-complementary
#2E46B1 #B1572E #87B12E
monochromatic
#152050 #213380 #2E46B1 #4C64D0 #7C8EDD

Accessibility & contrast

On white

7.99
#2E46B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2E46B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E46B1
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E46B1#FFFFFF#000000##FFFFFF
##2E46B11.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e46b1;
/* rgb */ color: rgb(46, 70, 177);
/* oklch */ color: oklch(44.4% 0.172 268.6);
Tailwind
colors: {
  custom: {
    50: '#7a79c9',
    500: '#2e46b1',
    950: '#000000',
  },
}
SCSS
$custom: #2e46b1;
$custom-light: #7a79c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e46b1",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 177
  },
  "hsl": {
    "h": 229.008,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44438,
    "c": 0.17208,
    "h": 268.6
  },
  "luminance": 0.08135
}

Semantic roles & 50–950 ramp

primary
#2E46B1
secondary
#C6B775
accent
#C546E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2E46B1

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

Preview Lab → · Contrast checker → · Palette generator →

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