#2E4BB4#2E4BB4

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

Color values

HEX#2E4BB4
RGBrgb(46, 75, 180)
HSLhsl(227, 59%, 44%)
HSVhsv(227, 74%, 71%)
CMYKcmyk(74.4%, 58.3%, 0%, 29.4%)
CIE-LABlab(35.80, 26.68, -58.84)
CIE-LCHlch(35.80, 64.61, 294.39°)
OKLaboklab(45.66% -0.0077 -0.1698)
OKLCHoklch(45.66% 0.17 267.4)
XYZxyz(11.8781, 8.9070, 44.2644)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4BB4 #B4972E
analogous
#2E8EB4 #2E4BB4 #542EB4
triadic
#2E4BB4 #B42E4B #4BB42E
tetradic
#2E4BB4 #B42E8E #B4972E #2EB454
square
#2E4BB4 #B42E8E #B4972E #2EB454
split-complementary
#2E4BB4 #B4542E #8EB42E
monochromatic
#152253 #223783 #2E4BB4 #4E6AD2 #7E93DE

Accessibility & contrast

On white

7.55
#2E4BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2E4BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4BB4
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4BB4#FFFFFF#000000##FFFFFF
##2E4BB41.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e4bb4;
/* rgb */ color: rgb(46, 75, 180);
/* oklch */ color: oklch(45.7% 0.170 267.4);
Tailwind
colors: {
  custom: {
    50: '#7a7ccb',
    500: '#2e4bb4',
    950: '#000000',
  },
}
SCSS
$custom: #2e4bb4;
$custom-light: #7a7ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4bb4",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 227.015,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45664,
    "c": 0.16997,
    "h": 267.4
  },
  "luminance": 0.08908
}

Semantic roles & 50–950 ramp

primary
#2E4BB4
secondary
#C7B677
accent
#C045E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2E4BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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