#2E4BB2#2E4BB2

#2E4BB2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.167 H 267.3°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2E4BB2
RGBrgb(46, 75, 178)
HSLhsl(227, 59%, 44%)
HSVhsv(227, 74%, 70%)
CMYKcmyk(74.2%, 57.9%, 0%, 30.2%)
CIE-LABlab(35.65, 25.94, -57.91)
CIE-LCHlch(35.65, 63.46, 294.12°)
OKLaboklab(45.5% -0.0078 -0.1671)
OKLCHoklch(45.5% 0.167 267.3)
XYZxyz(11.6759, 8.8261, 43.1991)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4BB2 #B2952E
analogous
#2E8DB2 #2E4BB2 #532EB2
triadic
#2E4BB2 #B22E4B #4BB22E
tetradic
#2E4BB2 #B22E8D #B2952E #2EB253
square
#2E4BB2 #B22E8D #B2952E #2EB253
split-complementary
#2E4BB2 #B2532E #8DB22E
monochromatic
#152251 #213781 #2E4BB2 #4C69D1 #7D92DD

Accessibility & contrast

On white

7.59
#2E4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2E4BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4BB2
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4BB2#FFFFFF#000000##FFFFFF
##2E4BB21.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e4bb2;
/* rgb */ color: rgb(46, 75, 178);
/* oklch */ color: oklch(45.5% 0.167 267.3);
Tailwind
colors: {
  custom: {
    50: '#7a7cca',
    500: '#2e4bb2',
    950: '#000000',
  },
}
SCSS
$custom: #2e4bb2;
$custom-light: #7a7cca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4bb2",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 226.818,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45497,
    "c": 0.16725,
    "h": 267.3
  },
  "luminance": 0.08827
}

Semantic roles & 50–950 ramp

primary
#2E4BB2
secondary
#C6B476
accent
#C046E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E4BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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