#2E4BBA#2E4BBA

#2E4BBA is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.2% C 0.178 H 267.6°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2E4BBA
RGBrgb(46, 75, 186)
HSLhsl(228, 60%, 45%)
HSVhsv(228, 75%, 73%)
CMYKcmyk(75.3%, 59.7%, 0%, 27.1%)
CIE-LABlab(36.28, 28.92, -61.60)
CIE-LCHlch(36.28, 68.05, 295.15°)
OKLaboklab(46.17% -0.0076 -0.1779)
OKLCHoklch(46.17% 0.178 267.6)
XYZxyz(12.5026, 9.1568, 47.5534)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4BBA #BA9D2E
analogous
#2E91BA #2E4BBA #572EBA
triadic
#2E4BBA #BA2E4B #4BBA2E
tetradic
#2E4BBA #BA2E91 #BA9D2E #2EBA57
square
#2E4BBA #BA2E91 #BA9D2E #2EBA57
split-complementary
#2E4BBA #BA572E #91BA2E
monochromatic
#162358 #223789 #2E4BBA #516CD4 #8296E0

Accessibility & contrast

On white

7.42
#2E4BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2E4BBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4BBA
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4BBA#FFFFFF#000000##FFFFFF
##2E4BBA1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e4bba;
/* rgb */ color: rgb(46, 75, 186);
/* oklch */ color: oklch(46.2% 0.178 267.6);
Tailwind
colors: {
  custom: {
    50: '#7b7dd0',
    500: '#2e4bba',
    950: '#000000',
  },
}
SCSS
$custom: #2e4bba;
$custom-light: #7b7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4bba",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 227.571,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46172,
    "c": 0.17804,
    "h": 267.6
  },
  "luminance": 0.09158
}

Semantic roles & 50–950 ramp

primary
#2E4BBA
secondary
#C9B97B
accent
#C344E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2E4BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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