#2E46BC#2E46BC

#2E46BC is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.4% C 0.187 H 268.7°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#2E46BC
RGBrgb(46, 70, 188)
HSLhsl(230, 61%, 46%)
HSVhsv(230, 76%, 74%)
CMYKcmyk(75.5%, 62.8%, 0%, 26.3%)
CIE-LABlab(35.18, 32.91, -64.57)
CIE-LCHlch(35.18, 72.47, 297.00°)
OKLaboklab(45.41% -0.0043 -0.1867)
OKLCHoklch(45.41% 0.187 268.7)
XYZxyz(12.3908, 8.5906, 48.5723)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E46BC #BCA42E
analogous
#2E8DBC #2E46BC #5D2EBC
triadic
#2E46BC #BC2E46 #46BC2E
tetradic
#2E46BC #BC2E8D #BCA42E #2EBC5D
square
#2E46BC #BC2E8D #BCA42E #2EBC5D
split-complementary
#2E46BC #BC5D2E #8DBC2E
monochromatic
#16215A #22348B #2E46BC #5268D5 #8493E1

Accessibility & contrast

On white

7.73
#2E46BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2E46BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E46BC
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E46BC#FFFFFF#000000##FFFFFF
##2E46BC1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e46bc;
/* rgb */ color: rgb(46, 70, 188);
/* oklch */ color: oklch(45.4% 0.187 268.7);
Tailwind
colors: {
  custom: {
    50: '#7c79d1',
    500: '#2e46bc',
    950: '#000000',
  },
}
SCSS
$custom: #2e46bc;
$custom-light: #7c79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e46bc",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 229.859,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45408,
    "c": 0.18671,
    "h": 268.7
  },
  "luminance": 0.08592
}

Semantic roles & 50–950 ramp

primary
#2E46BC
secondary
#CABD7C
accent
#C944E4
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2E46BC

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

Preview Lab → · Contrast checker → · Palette generator →

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