#2E48B2#2E48B2

#2E48B2 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.171 H 268.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#2E48B2
RGBrgb(46, 72, 178)
HSLhsl(228, 59%, 44%)
HSVhsv(228, 74%, 70%)
CMYKcmyk(74.2%, 59.6%, 0%, 30.2%)
CIE-LABlab(34.86, 27.91, -59.20)
CIE-LCHlch(34.86, 65.45, 295.24°)
OKLaboklab(44.91% -0.0056 -0.1709)
OKLCHoklch(44.91% 0.171 268.1)
XYZxyz(11.4772, 8.4287, 43.1329)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E48B2 #B2982E
analogous
#2E8AB2 #2E48B2 #562EB2
triadic
#2E48B2 #B22E48 #48B22E
tetradic
#2E48B2 #B22E8A #B2982E #2EB256
square
#2E48B2 #B22E8A #B2982E #2EB256
split-complementary
#2E48B2 #B2562E #8AB22E
monochromatic
#152151 #213481 #2E48B2 #4C66D1 #7D90DD

Accessibility & contrast

On white

7.82
#2E48B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2E48B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E48B2
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E48B2#FFFFFF#000000##FFFFFF
##2E48B21.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e48b2;
/* rgb */ color: rgb(46, 72, 178);
/* oklch */ color: oklch(44.9% 0.171 268.1);
Tailwind
colors: {
  custom: {
    50: '#7a7aca',
    500: '#2e48b2',
    950: '#000000',
  },
}
SCSS
$custom: #2e48b2;
$custom-light: #7a7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e48b2",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 228.182,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44909,
    "c": 0.17097,
    "h": 268.1
  },
  "luminance": 0.0843
}

Semantic roles & 50–950 ramp

primary
#2E48B2
secondary
#C6B676
accent
#C346E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2E48B2

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

Preview Lab → · Contrast checker → · Palette generator →

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