#2E46B2#2E46B2

#2E46B2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.173 H 268.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#2E46B2
RGBrgb(46, 70, 178)
HSLhsl(229, 59%, 44%)
HSVhsv(229, 74%, 70%)
CMYKcmyk(74.2%, 60.7%, 0%, 30.2%)
CIE-LABlab(34.34, 29.22, -60.04)
CIE-LCHlch(34.34, 66.77, 295.95°)
OKLaboklab(44.53% -0.0042 -0.1734)
OKLCHoklch(44.53% 0.173 268.6)
XYZxyz(11.3500, 8.1743, 43.0905)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E46B2 #B29A2E
analogous
#2E88B2 #2E46B2 #582EB2
triadic
#2E46B2 #B22E46 #46B22E
tetradic
#2E46B2 #B22E88 #B29A2E #2EB258
square
#2E46B2 #B22E88 #B29A2E #2EB258
split-complementary
#2E46B2 #B2582E #88B22E
monochromatic
#152051 #213381 #2E46B2 #4C64D1 #7D8FDD

Accessibility & contrast

On white

7.97
#2E46B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2E46B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E46B2
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E46B2#FFFFFF#000000##FFFFFF
##2E46B21.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e46b2;
/* rgb */ color: rgb(46, 70, 178);
/* oklch */ color: oklch(44.5% 0.173 268.6);
Tailwind
colors: {
  custom: {
    50: '#7a79ca',
    500: '#2e46b2',
    950: '#000000',
  },
}
SCSS
$custom: #2e46b2;
$custom-light: #7a79ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e46b2",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 229.091,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44525,
    "c": 0.17343,
    "h": 268.6
  },
  "luminance": 0.08176
}

Semantic roles & 50–950 ramp

primary
#2E46B2
secondary
#C6B776
accent
#C646E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2E46B2

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

Preview Lab → · Contrast checker → · Palette generator →

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