#2E46A2#2E46A2

#2E46A2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.151 H 268.3°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2E46A2
RGBrgb(46, 70, 162)
HSLhsl(228, 56%, 41%)
HSVhsv(228, 72%, 64%)
CMYKcmyk(71.6%, 56.8%, 0%, 36.5%)
CIE-LABlab(33.07, 23.25, -52.56)
CIE-LCHlch(33.07, 57.47, 293.86°)
OKLaboklab(43.17% -0.0045 -0.1514)
OKLCHoklch(43.17% 0.151 268.3)
XYZxyz(9.8362, 7.5688, 35.1180)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E46A2 #A28A2E
analogous
#2E80A2 #2E46A2 #502EA2
triadic
#2E46A2 #A22E46 #46A22E
tetradic
#2E46A2 #A22E80 #A28A2E #2EA250
square
#2E46A2 #A22E80 #A28A2E #2EA250
split-complementary
#2E46A2 #A2502E #80A22E
monochromatic
#131D43 #203172 #2E46A2 #435FCA #7388D7

Accessibility & contrast

On white

8.35
#2E46A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2E46A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E46A2
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E46A2#FFFFFF#000000##FFFFFF
##2E46A21.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e46a2;
/* rgb */ color: rgb(46, 70, 162);
/* oklch */ color: oklch(43.2% 0.151 268.3);
Tailwind
colors: {
  custom: {
    50: '#7679be',
    500: '#2e46a2',
    950: '#000000',
  },
}
SCSS
$custom: #2e46a2;
$custom-light: #7679be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e46a2",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 162
  },
  "hsl": {
    "h": 227.586,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43174,
    "c": 0.15147,
    "h": 268.3
  },
  "luminance": 0.0757
}

Semantic roles & 50–950 ramp

primary
#2E46A2
secondary
#BFAE6D
accent
#C049DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E46A2

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

Preview Lab → · Contrast checker → · Palette generator →

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