#2E46B9#2E46B9

#2E46B9 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.183 H 268.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2E46B9
RGBrgb(46, 70, 185)
HSLhsl(230, 60%, 45%)
HSVhsv(230, 75%, 73%)
CMYKcmyk(75.1%, 62.2%, 0%, 27.5%)
CIE-LABlab(34.93, 31.81, -63.22)
CIE-LCHlch(34.93, 70.77, 296.71°)
OKLaboklab(45.14% -0.0042 -0.1827)
OKLCHoklch(45.14% 0.183 268.7)
XYZxyz(12.0708, 8.4626, 46.8868)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E46B9 #B9A12E
analogous
#2E8CB9 #2E46B9 #5B2EB9
triadic
#2E46B9 #B92E46 #46B92E
tetradic
#2E46B9 #B92E8C #B9A12E #2EB95B
square
#2E46B9 #B92E8C #B9A12E #2EB95B
split-complementary
#2E46B9 #B95B2E #8CB92E
monochromatic
#162157 #223388 #2E46B9 #5167D4 #8292E0

Accessibility & contrast

On white

7.80
#2E46B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2E46B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E46B9
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E46B9#FFFFFF#000000##FFFFFF
##2E46B91.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#004CB7
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e46b9;
/* rgb */ color: rgb(46, 70, 185);
/* oklch */ color: oklch(45.1% 0.183 268.7);
Tailwind
colors: {
  custom: {
    50: '#7c79cf',
    500: '#2e46b9',
    950: '#000000',
  },
}
SCSS
$custom: #2e46b9;
$custom-light: #7c79cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e46b9",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 185
  },
  "hsl": {
    "h": 229.64,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4514,
    "c": 0.18276,
    "h": 268.7
  },
  "luminance": 0.08464
}

Semantic roles & 50–950 ramp

primary
#2E46B9
secondary
#C9BB7A
accent
#C844E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2E46B9

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

Preview Lab → · Contrast checker → · Palette generator →

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