#2E48B9#2E48B9

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

Color values

HEX#2E48B9
RGBrgb(46, 72, 185)
HSLhsl(229, 60%, 45%)
HSVhsv(229, 75%, 73%)
CMYKcmyk(75.1%, 61.1%, 0%, 27.5%)
CIE-LABlab(35.43, 30.51, -62.40)
CIE-LCHlch(35.43, 69.45, 296.06°)
OKLaboklab(45.51% -0.0056 -0.1803)
OKLCHoklch(45.51% 0.18 268.2)
XYZxyz(12.1980, 8.7170, 46.9292)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E48B9 #B99F2E
analogous
#2E8DB9 #2E48B9 #592EB9
triadic
#2E48B9 #B92E48 #48B92E
tetradic
#2E48B9 #B92E8D #B99F2E #2EB959
square
#2E48B9 #B92E8D #B99F2E #2EB959
split-complementary
#2E48B9 #B9592E #8DB92E
monochromatic
#162257 #223588 #2E48B9 #5169D4 #8293E0

Accessibility & contrast

On white

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

On black

2.74
#2E48B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2E48B9#FFFFFF#000000##FFFFFF
##2E48B91.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e48b9;
/* rgb */ color: rgb(46, 72, 185);
/* oklch */ color: oklch(45.5% 0.180 268.2);
Tailwind
colors: {
  custom: {
    50: '#7b7acf',
    500: '#2e48b9',
    950: '#000000',
  },
}
SCSS
$custom: #2e48b9;
$custom-light: #7b7acf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e48b9",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 185
  },
  "hsl": {
    "h": 228.777,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45514,
    "c": 0.18036,
    "h": 268.2
  },
  "luminance": 0.08718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E48B9

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

Preview Lab → · Contrast checker → · Palette generator →

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