#2E48AC#2E48AC

#2E48AC is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.163 H 268.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#2E48AC
RGBrgb(46, 72, 172)
HSLhsl(228, 58%, 43%)
HSVhsv(228, 73%, 67%)
CMYKcmyk(73.3%, 58.1%, 0%, 32.5%)
CIE-LABlab(34.38, 25.67, -56.41)
CIE-LCHlch(34.38, 61.98, 294.47°)
OKLaboklab(44.4% -0.0057 -0.1627)
OKLCHoklch(44.4% 0.163 268)
XYZxyz(10.8879, 8.1930, 40.0293)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E48AC #AC922E
analogous
#2E87AC #2E48AC #532EAC
triadic
#2E48AC #AC2E48 #48AC2E
tetradic
#2E48AC #AC2E87 #AC922E #2EAC53
square
#2E48AC #AC2E87 #AC922E #2EAC53
split-complementary
#2E48AC #AC532E #87AC2E
monochromatic
#14204B #21347C #2E48AC #4964CE #798DDB

Accessibility & contrast

On white

7.96
#2E48AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2E48AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E48AC
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E48AC#FFFFFF#000000##FFFFFF
##2E48AC1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e48ac;
/* rgb */ color: rgb(46, 72, 172);
/* oklch */ color: oklch(44.4% 0.163 268.0);
Tailwind
colors: {
  custom: {
    50: '#787ac5',
    500: '#2e48ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e48ac;
$custom-light: #787ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e48ac",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 172
  },
  "hsl": {
    "h": 227.619,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44402,
    "c": 0.16279,
    "h": 268
  },
  "luminance": 0.08194
}

Semantic roles & 50–950 ramp

primary
#2E48AC
secondary
#C3B372
accent
#C147E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E48AC

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

Preview Lab → · Contrast checker → · Palette generator →

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