#2E48B3#2E48B3

#2E48B3 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.172 H 268.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2E48B3
RGBrgb(46, 72, 179)
HSLhsl(228, 59%, 44%)
HSVhsv(228, 74%, 70%)
CMYKcmyk(74.3%, 59.8%, 0%, 29.8%)
CIE-LABlab(34.94, 28.28, -59.66)
CIE-LCHlch(34.94, 66.02, 295.37°)
OKLaboklab(45% -0.0056 -0.1722)
OKLCHoklch(45% 0.172 268.1)
XYZxyz(11.5779, 8.4690, 43.6636)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E48B3 #B3992E
analogous
#2E8BB3 #2E48B3 #572EB3
triadic
#2E48B3 #B32E48 #48B32E
tetradic
#2E48B3 #B32E8B #B3992E #2EB357
square
#2E48B3 #B32E8B #B3992E #2EB357
split-complementary
#2E48B3 #B3572E #8BB32E
monochromatic
#152152 #213482 #2E48B3 #4D67D1 #7E90DE

Accessibility & contrast

On white

7.80
#2E48B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E48B3
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E48B3#FFFFFF#000000##FFFFFF
##2E48B31.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e48b3;
/* rgb */ color: rgb(46, 72, 179);
/* oklch */ color: oklch(45.0% 0.172 268.1);
Tailwind
colors: {
  custom: {
    50: '#7a7acb',
    500: '#2e48b3',
    950: '#000000',
  },
}
SCSS
$custom: #2e48b3;
$custom-light: #7a7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e48b3",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 179
  },
  "hsl": {
    "h": 228.271,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44995,
    "c": 0.17232,
    "h": 268.1
  },
  "luminance": 0.0847
}

Semantic roles & 50–950 ramp

primary
#2E48B3
secondary
#C6B776
accent
#C446E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2E48B3

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

Preview Lab → · Contrast checker → · Palette generator →

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