#2E46B7#2E46B7

#2E46B7 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.180 H 268.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#2E46B7
RGBrgb(46, 70, 183)
HSLhsl(229, 60%, 45%)
HSVhsv(229, 75%, 72%)
CMYKcmyk(74.9%, 61.7%, 0%, 28.2%)
CIE-LABlab(34.76, 31.07, -62.32)
CIE-LCHlch(34.76, 69.63, 296.50°)
OKLaboklab(44.96% -0.0042 -0.1801)
OKLCHoklch(44.96% 0.18 268.7)
XYZxyz(11.8612, 8.3788, 45.7827)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E46B7 #B79F2E
analogous
#2E8BB7 #2E46B7 #5B2EB7
triadic
#2E46B7 #B72E46 #46B72E
tetradic
#2E46B7 #B72E8B #B79F2E #2EB75B
square
#2E46B7 #B72E8B #B79F2E #2EB75B
split-complementary
#2E46B7 #B75B2E #8BB72E
monochromatic
#152155 #223386 #2E46B7 #4F66D3 #8091DF

Accessibility & contrast

On white

7.85
#2E46B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2E46B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E46B7
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E46B7#FFFFFF#000000##FFFFFF
##2E46B71.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#004BB5
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e46b7;
/* rgb */ color: rgb(46, 70, 183);
/* oklch */ color: oklch(45.0% 0.180 268.7);
Tailwind
colors: {
  custom: {
    50: '#7b79ce',
    500: '#2e46b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e46b7;
$custom-light: #7b79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e46b7",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 183
  },
  "hsl": {
    "h": 229.489,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44963,
    "c": 0.18011,
    "h": 268.7
  },
  "luminance": 0.0838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E46B7

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

Preview Lab → · Contrast checker → · Palette generator →

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