#2E48AB#2E48AB

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

Color values

HEX#2E48AB
RGBrgb(46, 72, 171)
HSLhsl(228, 58%, 43%)
HSVhsv(228, 73%, 67%)
CMYKcmyk(73.1%, 57.9%, 0%, 32.9%)
CIE-LABlab(34.30, 25.29, -55.94)
CIE-LCHlch(34.30, 61.39, 294.33°)
OKLaboklab(44.32% -0.0058 -0.1613)
OKLCHoklch(44.32% 0.161 268)
XYZxyz(10.7922, 8.1547, 39.5254)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E48AB #AB912E
analogous
#2E87AB #2E48AB #522EAB
triadic
#2E48AB #AB2E48 #48AB2E
tetradic
#2E48AB #AB2E87 #AB912E #2EAB52
square
#2E48AB #AB2E87 #AB912E #2EAB52
split-complementary
#2E48AB #AB522E #87AB2E
monochromatic
#141F4B #21347B #2E48AB #4864CE #798DDB

Accessibility & contrast

On white

7.98
#2E48AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2E48AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E48AB
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E48AB#FFFFFF#000000##FFFFFF
##2E48AB1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e48ab;
/* rgb */ color: rgb(46, 72, 171);
/* oklch */ color: oklch(44.3% 0.161 268.0);
Tailwind
colors: {
  custom: {
    50: '#787ac5',
    500: '#2e48ab',
    950: '#000000',
  },
}
SCSS
$custom: #2e48ab;
$custom-light: #787ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e48ab",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 227.52,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44319,
    "c": 0.16142,
    "h": 268
  },
  "luminance": 0.08156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E48AB

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

Preview Lab → · Contrast checker → · Palette generator →

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