#2E4FB1#2E4FB1

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

Color values

HEX#2E4FB1
RGBrgb(46, 79, 177)
HSLhsl(225, 59%, 44%)
HSVhsv(225, 74%, 69%)
CMYKcmyk(74%, 55.4%, 0%, 30.6%)
CIE-LABlab(36.64, 22.92, -55.71)
CIE-LCHlch(36.64, 60.24, 292.36°)
OKLaboklab(46.22% -0.0109 -0.1605)
OKLCHoklch(46.22% 0.161 266.1)
XYZxyz(11.8557, 9.3459, 42.7656)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4FB1 #B1902E
analogous
#2E90B1 #2E4FB1 #4E2EB1
triadic
#2E4FB1 #B12E4F #4FB12E
tetradic
#2E4FB1 #B12E90 #B1902E #2EB14E
square
#2E4FB1 #B12E90 #B1902E #2EB14E
split-complementary
#2E4FB1 #B14E2E #90B12E
monochromatic
#152450 #213980 #2E4FB1 #4C6DD0 #7C95DD

Accessibility & contrast

On white

7.32
#2E4FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2E4FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4FB1
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4FB1#FFFFFF#000000##FFFFFF
##2E4FB11.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4fb1;
/* rgb */ color: rgb(46, 79, 177);
/* oklch */ color: oklch(46.2% 0.161 266.1);
Tailwind
colors: {
  custom: {
    50: '#797fc9',
    500: '#2e4fb1',
    950: '#000000',
  },
}
SCSS
$custom: #2e4fb1;
$custom-light: #797fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4fb1",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 177
  },
  "hsl": {
    "h": 224.885,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4622,
    "c": 0.16089,
    "h": 266.1
  },
  "luminance": 0.09347
}

Semantic roles & 50–950 ramp

primary
#2E4FB1
secondary
#C6B175
accent
#BB46E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E4FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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