#2E4EB8#2E4EB8

#2E4EB8 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.6% C 0.172 H 266.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#2E4EB8
RGBrgb(46, 78, 184)
HSLhsl(226, 60%, 45%)
HSVhsv(226, 75%, 72%)
CMYKcmyk(75%, 57.6%, 0%, 27.8%)
CIE-LABlab(36.91, 26.21, -59.40)
CIE-LCHlch(36.91, 64.93, 293.81°)
OKLaboklab(46.59% -0.0098 -0.1714)
OKLCHoklch(46.59% 0.172 266.7)
XYZxyz(12.4998, 9.4889, 46.5109)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4EB8 #B8982E
analogous
#2E93B8 #2E4EB8 #532EB8
triadic
#2E4EB8 #B82E4E #4EB82E
tetradic
#2E4EB8 #B82E93 #B8982E #2EB853
square
#2E4EB8 #B82E93 #B8982E #2EB853
split-complementary
#2E4EB8 #B8532E #93B82E
monochromatic
#162456 #223987 #2E4EB8 #506ED3 #8197DF

Accessibility & contrast

On white

7.25
#2E4EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2E4EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4EB8
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4EB8#FFFFFF#000000##FFFFFF
##2E4EB81.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#0051B6
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e4eb8;
/* rgb */ color: rgb(46, 78, 184);
/* oklch */ color: oklch(46.6% 0.172 266.7);
Tailwind
colors: {
  custom: {
    50: '#7b7fce',
    500: '#2e4eb8',
    950: '#000000',
  },
}
SCSS
$custom: #2e4eb8;
$custom-light: #7b7fce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4eb8",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 184
  },
  "hsl": {
    "h": 226.087,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46589,
    "c": 0.17168,
    "h": 266.7
  },
  "luminance": 0.0949
}

Semantic roles & 50–950 ramp

primary
#2E4EB8
secondary
#C8B679
accent
#BE45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2E4EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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