#2E48BE#2E48BE

#2E48BE is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.0% C 0.187 H 268.3°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#2E48BE
RGBrgb(46, 72, 190)
HSLhsl(229, 61%, 46%)
HSVhsv(229, 76%, 75%)
CMYKcmyk(75.8%, 62.1%, 0%, 25.5%)
CIE-LABlab(35.85, 32.35, -64.65)
CIE-LCHlch(35.85, 72.29, 296.58°)
OKLaboklab(45.96% -0.0056 -0.1869)
OKLCHoklch(45.96% 0.187 268.3)
XYZxyz(12.7351, 8.9319, 49.7581)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E48BE #BEA42E
analogous
#2E90BE #2E48BE #5C2EBE
triadic
#2E48BE #BE2E48 #48BE2E
tetradic
#2E48BE #BE2E90 #BEA42E #2EBE5C
square
#2E48BE #BE2E90 #BEA42E #2EBE5C
split-complementary
#2E48BE #BE5C2E #90BE2E
monochromatic
#16235B #22358D #2E48BE #546BD6 #8596E1

Accessibility & contrast

On white

7.54
#2E48BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2E48BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E48BE
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E48BE#FFFFFF#000000##FFFFFF
##2E48BE1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#004EBC
Tritanopia (blue-blind)
#00667C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e48be;
/* rgb */ color: rgb(46, 72, 190);
/* oklch */ color: oklch(46.0% 0.187 268.3);
Tailwind
colors: {
  custom: {
    50: '#7d7ad3',
    500: '#2e48be',
    950: '#000000',
  },
}
SCSS
$custom: #2e48be;
$custom-light: #7d7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e48be",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 190
  },
  "hsl": {
    "h": 229.167,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45955,
    "c": 0.18696,
    "h": 268.3
  },
  "luminance": 0.08933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E48BE

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

Preview Lab → · Contrast checker → · Palette generator →

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