#2E4AB3#2E4AB3

#2E4AB3 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.170 H 267.6°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#2E4AB3
RGBrgb(46, 74, 179)
HSLhsl(227, 59%, 44%)
HSVhsv(227, 74%, 70%)
CMYKcmyk(74.3%, 58.7%, 0%, 29.8%)
CIE-LABlab(35.46, 26.97, -58.81)
CIE-LCHlch(35.46, 64.70, 294.64°)
OKLaboklab(45.38% -0.007 -0.1697)
OKLCHoklch(45.38% 0.17 267.6)
XYZxyz(11.7093, 8.7318, 43.7074)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4AB3 #B3972E
analogous
#2E8DB3 #2E4AB3 #542EB3
triadic
#2E4AB3 #B32E4A #4AB32E
tetradic
#2E4AB3 #B32E8D #B3972E #2EB354
square
#2E4AB3 #B32E8D #B3972E #2EB354
split-complementary
#2E4AB3 #B3542E #8DB32E
monochromatic
#152252 #213682 #2E4AB3 #4D69D1 #7E92DE

Accessibility & contrast

On white

7.65
#2E4AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2E4AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4AB3
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4AB3#FFFFFF#000000##FFFFFF
##2E4AB31.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e4ab3;
/* rgb */ color: rgb(46, 74, 179);
/* oklch */ color: oklch(45.4% 0.170 267.6);
Tailwind
colors: {
  custom: {
    50: '#7a7ccb',
    500: '#2e4ab3',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ab3;
$custom-light: #7a7ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ab3",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 179
  },
  "hsl": {
    "h": 227.368,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45384,
    "c": 0.16985,
    "h": 267.6
  },
  "luminance": 0.08733
}

Semantic roles & 50–950 ramp

primary
#2E4AB3
secondary
#C6B676
accent
#C146E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2E4AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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