#2E46B6#2E46B6

#2E46B6 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.9% C 0.179 H 268.7°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#2E46B6
RGBrgb(46, 70, 182)
HSLhsl(229, 60%, 45%)
HSVhsv(229, 75%, 71%)
CMYKcmyk(74.7%, 61.5%, 0%, 28.6%)
CIE-LABlab(34.68, 30.70, -61.86)
CIE-LCHlch(34.68, 69.06, 296.39°)
OKLaboklab(44.88% -0.0042 -0.1787)
OKLCHoklch(44.88% 0.179 268.7)
XYZxyz(11.7575, 8.3373, 45.2365)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E46B6 #B69E2E
analogous
#2E8AB6 #2E46B6 #5A2EB6
triadic
#2E46B6 #B62E46 #46B62E
tetradic
#2E46B6 #B62E8A #B69E2E #2EB65A
square
#2E46B6 #B62E8A #B69E2E #2EB65A
split-complementary
#2E46B6 #B65A2E #8AB62E
monochromatic
#152054 #223385 #2E46B6 #4F66D2 #8090DF

Accessibility & contrast

On white

7.87
#2E46B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2E46B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E46B6
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E46B6#FFFFFF#000000##FFFFFF
##2E46B61.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#004BB4
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e46b6;
/* rgb */ color: rgb(46, 70, 182);
/* oklch */ color: oklch(44.9% 0.179 268.7);
Tailwind
colors: {
  custom: {
    50: '#7b79cd',
    500: '#2e46b6',
    950: '#000000',
  },
}
SCSS
$custom: #2e46b6;
$custom-light: #7b79cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e46b6",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 182
  },
  "hsl": {
    "h": 229.412,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44875,
    "c": 0.17878,
    "h": 268.7
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#2E46B6
secondary
#C8BA78
accent
#C745E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2E46B6

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

Preview Lab → · Contrast checker → · Palette generator →

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