#2E46A0#2E46A0

#2E46A0 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.149 H 268.2°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#2E46A0
RGBrgb(46, 70, 160)
HSLhsl(227, 55%, 40%)
HSVhsv(227, 71%, 63%)
CMYKcmyk(71.2%, 56.3%, 0%, 37.3%)
CIE-LABlab(32.92, 22.49, -51.60)
CIE-LCHlch(32.92, 56.29, 293.55°)
OKLaboklab(43.01% -0.0046 -0.1486)
OKLCHoklch(43.01% 0.149 268.2)
XYZxyz(9.6598, 7.4983, 34.1891)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E46A0 #A0882E
analogous
#2E7FA0 #2E46A0 #4F2EA0
triadic
#2E46A0 #A02E46 #46A02E
tetradic
#2E46A0 #A02E7F #A0882E #2EA04F
square
#2E46A0 #A02E7F #A0882E #2EA04F
split-complementary
#2E46A0 #A04F2E #7FA02E
monochromatic
#131C41 #203170 #2E46A0 #425FC9 #7287D6

Accessibility & contrast

On white

8.40
#2E46A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2E46A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E46A0
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E46A0#FFFFFF#000000##FFFFFF
##2E46A01.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#00489E
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e46a0;
/* rgb */ color: rgb(46, 70, 160);
/* oklch */ color: oklch(43.0% 0.149 268.2);
Tailwind
colors: {
  custom: {
    50: '#7679bd',
    500: '#2e46a0',
    950: '#000000',
  },
}
SCSS
$custom: #2e46a0;
$custom-light: #7679bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e46a0",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 160
  },
  "hsl": {
    "h": 227.368,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43011,
    "c": 0.14865,
    "h": 268.2
  },
  "luminance": 0.07499
}

Semantic roles & 50–950 ramp

primary
#2E46A0
secondary
#BEAD6C
accent
#BF49DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E46A0

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

Preview Lab → · Contrast checker → · Palette generator →

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