#2E4AB6#2E4AB6

#2E4AB6 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.174 H 267.7°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#2E4AB6
RGBrgb(46, 74, 182)
HSLhsl(228, 60%, 45%)
HSVhsv(228, 75%, 71%)
CMYKcmyk(74.7%, 59.3%, 0%, 28.6%)
CIE-LABlab(35.70, 28.09, -60.19)
CIE-LCHlch(35.70, 66.42, 295.02°)
OKLaboklab(45.64% -0.007 -0.1738)
OKLCHoklch(45.64% 0.174 267.7)
XYZxyz(12.0161, 8.8545, 45.3227)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4AB6 #B69A2E
analogous
#2E8EB6 #2E4AB6 #562EB6
triadic
#2E4AB6 #B62E4A #4AB62E
tetradic
#2E4AB6 #B62E8E #B69A2E #2EB656
square
#2E4AB6 #B62E8E #B69A2E #2EB656
split-complementary
#2E4AB6 #B6562E #8EB62E
monochromatic
#152254 #223685 #2E4AB6 #4F6AD2 #8093DF

Accessibility & contrast

On white

7.58
#2E4AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4AB6
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4AB6#FFFFFF#000000##FFFFFF
##2E4AB61.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABA
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e4ab6;
/* rgb */ color: rgb(46, 74, 182);
/* oklch */ color: oklch(45.6% 0.174 267.7);
Tailwind
colors: {
  custom: {
    50: '#7b7ccd',
    500: '#2e4ab6',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ab6;
$custom-light: #7b7ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ab6",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 182
  },
  "hsl": {
    "h": 227.647,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45638,
    "c": 0.1739,
    "h": 267.7
  },
  "luminance": 0.08856
}

Semantic roles & 50–950 ramp

primary
#2E4AB6
secondary
#C8B778
accent
#C245E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2E4AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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