#2E48B6#2E48B6

#2E48B6 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.176 H 268.2°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2E48B6
RGBrgb(46, 72, 182)
HSLhsl(229, 60%, 45%)
HSVhsv(229, 75%, 71%)
CMYKcmyk(74.7%, 60.4%, 0%, 28.6%)
CIE-LABlab(35.19, 29.40, -61.03)
CIE-LCHlch(35.19, 67.74, 295.72°)
OKLaboklab(45.25% -0.0056 -0.1763)
OKLCHoklch(45.25% 0.176 268.2)
XYZxyz(11.8847, 8.5917, 45.2789)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E48B6 #B69C2E
analogous
#2E8CB6 #2E48B6 #582EB6
triadic
#2E48B6 #B62E48 #48B62E
tetradic
#2E48B6 #B62E8C #B69C2E #2EB658
square
#2E48B6 #B62E8C #B69C2E #2EB658
split-complementary
#2E48B6 #B6582E #8CB62E
monochromatic
#152154 #223585 #2E48B6 #4F68D2 #8092DF

Accessibility & contrast

On white

7.72
#2E48B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2E48B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E48B6
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E48B6#FFFFFF#000000##FFFFFF
##2E48B61.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#004DB4
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e48b6;
/* rgb */ color: rgb(46, 72, 182);
/* oklch */ color: oklch(45.3% 0.176 268.2);
Tailwind
colors: {
  custom: {
    50: '#7b7acd',
    500: '#2e48b6',
    950: '#000000',
  },
}
SCSS
$custom: #2e48b6;
$custom-light: #7b7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e48b6",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 182
  },
  "hsl": {
    "h": 228.529,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45253,
    "c": 0.17635,
    "h": 268.2
  },
  "luminance": 0.08593
}

Semantic roles & 50–950 ramp

primary
#2E48B6
secondary
#C8B878
accent
#C545E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2E48B6

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

Preview Lab → · Contrast checker → · Palette generator →

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