#2E48BA#2E48BA

#2E48BA is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.182 H 268.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#2E48BA
RGBrgb(46, 72, 186)
HSLhsl(229, 60%, 45%)
HSVhsv(229, 75%, 73%)
CMYKcmyk(75.3%, 61.3%, 0%, 27.1%)
CIE-LABlab(35.52, 30.88, -62.85)
CIE-LCHlch(35.52, 70.02, 296.16°)
OKLaboklab(45.6% -0.0056 -0.1816)
OKLCHoklch(45.6% 0.182 268.2)
XYZxyz(12.3039, 8.7594, 47.4871)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E48BA #BAA02E
analogous
#2E8EBA #2E48BA #5A2EBA
triadic
#2E48BA #BA2E48 #48BA2E
tetradic
#2E48BA #BA2E8E #BAA02E #2EBA5A
square
#2E48BA #BA2E8E #BAA02E #2EBA5A
split-complementary
#2E48BA #BA5A2E #8EBA2E
monochromatic
#162258 #223589 #2E48BA #5169D4 #8294E0

Accessibility & contrast

On white

7.63
#2E48BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E48BA
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E48BA#FFFFFF#000000##FFFFFF
##2E48BA1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e48ba;
/* rgb */ color: rgb(46, 72, 186);
/* oklch */ color: oklch(45.6% 0.182 268.2);
Tailwind
colors: {
  custom: {
    50: '#7c7ad0',
    500: '#2e48ba',
    950: '#000000',
  },
}
SCSS
$custom: #2e48ba;
$custom-light: #7c7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e48ba",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 228.857,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45602,
    "c": 0.18169,
    "h": 268.2
  },
  "luminance": 0.08761
}

Semantic roles & 50–950 ramp

primary
#2E48BA
secondary
#C9BB7B
accent
#C644E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2E48BA

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

Preview Lab → · Contrast checker → · Palette generator →

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