#2E48B1#2E48B1

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

Color values

HEX#2E48B1
RGBrgb(46, 72, 177)
HSLhsl(228, 59%, 44%)
HSVhsv(228, 74%, 69%)
CMYKcmyk(74%, 59.3%, 0%, 30.6%)
CIE-LABlab(34.78, 27.54, -58.73)
CIE-LCHlch(34.78, 64.87, 295.12°)
OKLaboklab(44.82% -0.0056 -0.1695)
OKLCHoklch(44.82% 0.17 268.1)
XYZxyz(11.3771, 8.3887, 42.6060)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E48B1 #B1972E
analogous
#2E89B1 #2E48B1 #562EB1
triadic
#2E48B1 #B12E48 #48B12E
tetradic
#2E48B1 #B12E89 #B1972E #2EB156
square
#2E48B1 #B12E89 #B1972E #2EB156
split-complementary
#2E48B1 #B1562E #89B12E
monochromatic
#152050 #213480 #2E48B1 #4C66D0 #7C90DD

Accessibility & contrast

On white

7.84
#2E48B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2E48B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E48B1
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E48B1#FFFFFF#000000##FFFFFF
##2E48B11.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#004CAF
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e48b1;
/* rgb */ color: rgb(46, 72, 177);
/* oklch */ color: oklch(44.8% 0.170 268.1);
Tailwind
colors: {
  custom: {
    50: '#7a7ac9',
    500: '#2e48b1',
    950: '#000000',
  },
}
SCSS
$custom: #2e48b1;
$custom-light: #7a7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e48b1",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 177
  },
  "hsl": {
    "h": 228.092,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44824,
    "c": 0.16961,
    "h": 268.1
  },
  "luminance": 0.0839
}

Semantic roles & 50–950 ramp

primary
#2E48B1
secondary
#C6B675
accent
#C346E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E48B1

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

Preview Lab → · Contrast checker → · Palette generator →

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