#2E4FB8#2E4FB8

#2E4FB8 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.170 H 266.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#2E4FB8
RGBrgb(46, 79, 184)
HSLhsl(226, 60%, 45%)
HSVhsv(226, 75%, 72%)
CMYKcmyk(75%, 57.1%, 0%, 27.8%)
CIE-LABlab(37.17, 25.55, -58.97)
CIE-LCHlch(37.17, 64.27, 293.43°)
OKLaboklab(46.79% -0.0105 -0.1701)
OKLCHoklch(46.79% 0.17 266.5)
XYZxyz(12.5714, 9.6321, 46.5347)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4FB8 #B8972E
analogous
#2E94B8 #2E4FB8 #522EB8
triadic
#2E4FB8 #B82E4F #4FB82E
tetradic
#2E4FB8 #B82E94 #B8972E #2EB852
square
#2E4FB8 #B82E94 #B8972E #2EB852
split-complementary
#2E4FB8 #B8522E #94B82E
monochromatic
#162556 #223A87 #2E4FB8 #506FD3 #8198DF

Accessibility & contrast

On white

7.18
#2E4FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4FB8
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4FB8#FFFFFF#000000##FFFFFF
##2E4FB81.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#0051B6
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e4fb8;
/* rgb */ color: rgb(46, 79, 184);
/* oklch */ color: oklch(46.8% 0.170 266.5);
Tailwind
colors: {
  custom: {
    50: '#7b7fce',
    500: '#2e4fb8',
    950: '#000000',
  },
}
SCSS
$custom: #2e4fb8;
$custom-light: #7b7fce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4fb8",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 184
  },
  "hsl": {
    "h": 225.652,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46788,
    "c": 0.17044,
    "h": 266.5
  },
  "luminance": 0.09633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E4FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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