#2E4EB3#2E4EB3

#2E4EB3 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.165 H 266.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#2E4EB3
RGBrgb(46, 78, 179)
HSLhsl(226, 59%, 44%)
HSVhsv(226, 74%, 70%)
CMYKcmyk(74.3%, 56.4%, 0%, 29.8%)
CIE-LABlab(36.52, 24.33, -57.08)
CIE-LCHlch(36.52, 62.05, 293.09°)
OKLaboklab(46.18% -0.01 -0.1646)
OKLCHoklch(46.18% 0.165 266.5)
XYZxyz(11.9849, 9.2830, 43.7992)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4EB3 #B3932E
analogous
#2E91B3 #2E4EB3 #512EB3
triadic
#2E4EB3 #B32E4E #4EB32E
tetradic
#2E4EB3 #B32E91 #B3932E #2EB351
square
#2E4EB3 #B32E91 #B3932E #2EB351
split-complementary
#2E4EB3 #B3512E #91B32E
monochromatic
#152452 #213982 #2E4EB3 #4D6DD1 #7E95DE

Accessibility & contrast

On white

7.35
#2E4EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2E4EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4EB3
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4EB3#FFFFFF#000000##FFFFFF
##2E4EB31.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e4eb3;
/* rgb */ color: rgb(46, 78, 179);
/* oklch */ color: oklch(46.2% 0.165 266.5);
Tailwind
colors: {
  custom: {
    50: '#7a7fca',
    500: '#2e4eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2e4eb3;
$custom-light: #7a7fca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4eb3",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 225.564,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46179,
    "c": 0.16487,
    "h": 266.5
  },
  "luminance": 0.09284
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E4EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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