#2E4EB2#2E4EB2

#2E4EB2 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.164 H 266.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#2E4EB2
RGBrgb(46, 78, 178)
HSLhsl(225, 59%, 44%)
HSVhsv(225, 74%, 70%)
CMYKcmyk(74.2%, 56.2%, 0%, 30.2%)
CIE-LABlab(36.45, 23.96, -56.61)
CIE-LCHlch(36.45, 61.47, 292.94°)
OKLaboklab(46.1% -0.0101 -0.1632)
OKLCHoklch(46.1% 0.164 266.5)
XYZxyz(11.8842, 9.2427, 43.2685)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4EB2 #B2922E
analogous
#2E90B2 #2E4EB2 #502EB2
triadic
#2E4EB2 #B22E4E #4EB22E
tetradic
#2E4EB2 #B22E90 #B2922E #2EB250
square
#2E4EB2 #B22E90 #B2922E #2EB250
split-complementary
#2E4EB2 #B2502E #90B22E
monochromatic
#152351 #213981 #2E4EB2 #4C6CD1 #7D94DD

Accessibility & contrast

On white

7.37
#2E4EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2E4EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4EB2
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4EB2#FFFFFF#000000##FFFFFF
##2E4EB21.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e4eb2;
/* rgb */ color: rgb(46, 78, 178);
/* oklch */ color: oklch(46.1% 0.164 266.5);
Tailwind
colors: {
  custom: {
    50: '#797fca',
    500: '#2e4eb2',
    950: '#000000',
  },
}
SCSS
$custom: #2e4eb2;
$custom-light: #797fca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4eb2",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 225.455,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46098,
    "c": 0.16351,
    "h": 266.5
  },
  "luminance": 0.09244
}

Semantic roles & 50–950 ramp

primary
#2E4EB2
secondary
#C6B376
accent
#BC46E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E4EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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