#2E4EBC#2E4EBC

#2E4EBC is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.177 H 266.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2E4EBC
RGBrgb(46, 78, 188)
HSLhsl(226, 61%, 46%)
HSVhsv(226, 76%, 74%)
CMYKcmyk(75.5%, 58.5%, 0%, 26.3%)
CIE-LABlab(37.22, 27.71, -61.24)
CIE-LCHlch(37.22, 67.22, 294.34°)
OKLaboklab(46.92% -0.0096 -0.1768)
OKLCHoklch(46.92% 0.177 266.9)
XYZxyz(12.9250, 9.6590, 48.7504)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4EBC #BC9C2E
analogous
#2E95BC #2E4EBC #552EBC
triadic
#2E4EBC #BC2E4E #4EBC2E
tetradic
#2E4EBC #BC2E95 #BC9C2E #2EBC55
square
#2E4EBC #BC2E95 #BC9C2E #2EBC55
split-complementary
#2E4EBC #BC552E #95BC2E
monochromatic
#16255A #223A8B #2E4EBC #5270D5 #8499E1

Accessibility & contrast

On white

7.16
#2E4EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2E4EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4EBC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4EBC#FFFFFF#000000##FFFFFF
##2E4EBC1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e4ebc;
/* rgb */ color: rgb(46, 78, 188);
/* oklch */ color: oklch(46.9% 0.177 266.9);
Tailwind
colors: {
  custom: {
    50: '#7c7fd1',
    500: '#2e4ebc',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ebc;
$custom-light: #7c7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ebc",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 226.479,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46923,
    "c": 0.17706,
    "h": 266.9
  },
  "luminance": 0.0966
}

Semantic roles & 50–950 ramp

primary
#2E4EBC
secondary
#CAB87C
accent
#C044E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2E4EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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