#2E4FB7#2E4FB7

#2E4FB7 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.169 H 266.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#2E4FB7
RGBrgb(46, 79, 183)
HSLhsl(226, 60%, 45%)
HSVhsv(226, 75%, 72%)
CMYKcmyk(74.9%, 56.8%, 0%, 28.2%)
CIE-LABlab(37.10, 25.18, -58.51)
CIE-LCHlch(37.10, 63.70, 293.28°)
OKLaboklab(46.71% -0.0106 -0.1687)
OKLCHoklch(46.71% 0.169 266.4)
XYZxyz(12.4669, 9.5903, 45.9846)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4FB7 #B7962E
analogous
#2E94B7 #2E4FB7 #512EB7
triadic
#2E4FB7 #B72E4F #4FB72E
tetradic
#2E4FB7 #B72E94 #B7962E #2EB751
square
#2E4FB7 #B72E94 #B7962E #2EB751
split-complementary
#2E4FB7 #B7512E #94B72E
monochromatic
#152555 #223A86 #2E4FB7 #4F6FD3 #8097DF

Accessibility & contrast

On white

7.20
#2E4FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2E4FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4FB7
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4FB7#FFFFFF#000000##FFFFFF
##2E4FB71.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#00697B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e4fb7;
/* rgb */ color: rgb(46, 79, 183);
/* oklch */ color: oklch(46.7% 0.169 266.4);
Tailwind
colors: {
  custom: {
    50: '#7a7fcd',
    500: '#2e4fb7',
    950: '#000000',
  },
}
SCSS
$custom: #2e4fb7;
$custom-light: #7a7fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4fb7",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 183
  },
  "hsl": {
    "h": 225.547,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46706,
    "c": 0.16908,
    "h": 266.4
  },
  "luminance": 0.09592
}

Semantic roles & 50–950 ramp

primary
#2E4FB7
secondary
#C8B579
accent
#BD45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2E4FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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