#2E4BB5#2E4BB5

#2E4BB5 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.171 H 267.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#2E4BB5
RGBrgb(46, 75, 181)
HSLhsl(227, 59%, 45%)
HSVhsv(227, 75%, 71%)
CMYKcmyk(74.6%, 58.6%, 0%, 29%)
CIE-LABlab(35.88, 27.06, -59.30)
CIE-LCHlch(35.88, 65.18, 294.53°)
OKLaboklab(45.75% -0.0077 -0.1711)
OKLCHoklch(45.75% 0.171 267.4)
XYZxyz(11.9804, 8.9479, 44.8028)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4BB5 #B5982E
analogous
#2E8FB5 #2E4BB5 #552EB5
triadic
#2E4BB5 #B52E4B #4BB52E
tetradic
#2E4BB5 #B52E8F #B5982E #2EB555
square
#2E4BB5 #B52E8F #B5982E #2EB555
split-complementary
#2E4BB5 #B5552E #8FB52E
monochromatic
#152353 #223784 #2E4BB5 #4E6AD2 #7F93DE

Accessibility & contrast

On white

7.53
#2E4BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2E4BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4BB5
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4BB5#FFFFFF#000000##FFFFFF
##2E4BB51.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e4bb5;
/* rgb */ color: rgb(46, 75, 181);
/* oklch */ color: oklch(45.7% 0.171 267.4);
Tailwind
colors: {
  custom: {
    50: '#7a7ccc',
    500: '#2e4bb5',
    950: '#000000',
  },
}
SCSS
$custom: #2e4bb5;
$custom-light: #7a7ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4bb5",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 227.111,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45748,
    "c": 0.17132,
    "h": 267.4
  },
  "luminance": 0.08949
}

Semantic roles & 50–950 ramp

primary
#2E4BB5
secondary
#C7B678
accent
#C145E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2E4BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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