#2E48AE#2E48AE

#2E48AE is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.166 H 268.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#2E48AE
RGBrgb(46, 72, 174)
HSLhsl(228, 58%, 43%)
HSVhsv(228, 74%, 68%)
CMYKcmyk(73.6%, 58.6%, 0%, 31.8%)
CIE-LABlab(34.54, 26.42, -57.34)
CIE-LCHlch(34.54, 63.14, 294.74°)
OKLaboklab(44.57% -0.0057 -0.1654)
OKLCHoklch(44.57% 0.166 268)
XYZxyz(11.0814, 8.2704, 41.0485)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E48AE #AE942E
analogous
#2E88AE #2E48AE #542EAE
triadic
#2E48AE #AE2E48 #48AE2E
tetradic
#2E48AE #AE2E88 #AE942E #2EAE54
square
#2E48AE #AE2E88 #AE942E #2EAE54
split-complementary
#2E48AE #AE542E #88AE2E
monochromatic
#14204D #21347E #2E48AE #4A65CF #7A8EDC

Accessibility & contrast

On white

7.91
#2E48AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2E48AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E48AE
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E48AE#FFFFFF#000000##FFFFFF
##2E48AE1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e48ae;
/* rgb */ color: rgb(46, 72, 174);
/* oklch */ color: oklch(44.6% 0.166 268.0);
Tailwind
colors: {
  custom: {
    50: '#797ac7',
    500: '#2e48ae',
    950: '#000000',
  },
}
SCSS
$custom: #2e48ae;
$custom-light: #797ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e48ae",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 174
  },
  "hsl": {
    "h": 227.813,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4457,
    "c": 0.16553,
    "h": 268
  },
  "luminance": 0.08272
}

Semantic roles & 50–950 ramp

primary
#2E48AE
secondary
#C4B474
accent
#C246E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E48AE

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

Preview Lab → · Contrast checker → · Palette generator →

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