#2E48BC#2E48BC

#2E48BC is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.8% C 0.184 H 268.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#2E48BC
RGBrgb(46, 72, 188)
HSLhsl(229, 61%, 46%)
HSVhsv(229, 76%, 74%)
CMYKcmyk(75.5%, 61.7%, 0%, 26.3%)
CIE-LABlab(35.68, 31.61, -63.75)
CIE-LCHlch(35.68, 71.16, 296.38°)
OKLaboklab(45.78% -0.0056 -0.1842)
OKLCHoklch(45.78% 0.184 268.3)
XYZxyz(12.5180, 8.8450, 48.6147)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E48BC #BCA22E
analogous
#2E8FBC #2E48BC #5B2EBC
triadic
#2E48BC #BC2E48 #48BC2E
tetradic
#2E48BC #BC2E8F #BCA22E #2EBC5B
square
#2E48BC #BC2E8F #BCA22E #2EBC5B
split-complementary
#2E48BC #BC5B2E #8FBC2E
monochromatic
#16225A #22358B #2E48BC #526AD5 #8495E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E48BC#FFFFFF#000000##FFFFFF
##2E48BC1.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)
#005BC0
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e48bc;
/* rgb */ color: rgb(46, 72, 188);
/* oklch */ color: oklch(45.8% 0.184 268.3);
Tailwind
colors: {
  custom: {
    50: '#7c7ad1',
    500: '#2e48bc',
    950: '#000000',
  },
}
SCSS
$custom: #2e48bc;
$custom-light: #7c7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e48bc",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 229.014,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45778,
    "c": 0.18432,
    "h": 268.3
  },
  "luminance": 0.08846
}

Semantic roles & 50–950 ramp

primary
#2E48BC
secondary
#CABC7C
accent
#C744E4
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2E48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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