#2E46A8#2E46A8

#2E46A8 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.160 H 268.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2E46A8
RGBrgb(46, 70, 168)
HSLhsl(228, 57%, 42%)
HSVhsv(228, 73%, 66%)
CMYKcmyk(72.6%, 58.3%, 0%, 34.1%)
CIE-LABlab(33.54, 25.50, -55.40)
CIE-LCHlch(33.54, 60.98, 294.71°)
OKLaboklab(43.67% -0.0043 -0.1597)
OKLCHoklch(43.67% 0.16 268.5)
XYZxyz(10.3823, 7.7872, 37.9941)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E46A8 #A8902E
analogous
#2E83A8 #2E46A8 #532EA8
triadic
#2E46A8 #A82E46 #46A82E
tetradic
#2E46A8 #A82E83 #A8902E #2EA853
square
#2E46A8 #A82E83 #A8902E #2EA853
split-complementary
#2E46A8 #A8532E #83A82E
monochromatic
#141E48 #213278 #2E46A8 #4761CD #778ADA

Accessibility & contrast

On white

8.21
#2E46A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2E46A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E46A8
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E46A8#FFFFFF#000000##FFFFFF
##2E46A81.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#0049A6
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e46a8;
/* rgb */ color: rgb(46, 70, 168);
/* oklch */ color: oklch(43.7% 0.160 268.5);
Tailwind
colors: {
  custom: {
    50: '#7879c3',
    500: '#2e46a8',
    950: '#000000',
  },
}
SCSS
$custom: #2e46a8;
$custom-light: #7879c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e46a8",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 168
  },
  "hsl": {
    "h": 228.197,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43671,
    "c": 0.15981,
    "h": 268.5
  },
  "luminance": 0.07788
}

Semantic roles & 50–950 ramp

primary
#2E46A8
secondary
#C2B270
accent
#C248E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E46A8

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

Preview Lab → · Contrast checker → · Palette generator →

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