#2E48A1#2E48A1

#2E48A1 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.147 H 267.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2E48A1
RGBrgb(46, 72, 161)
HSLhsl(226, 56%, 41%)
HSVhsv(226, 71%, 63%)
CMYKcmyk(71.4%, 55.3%, 0%, 36.9%)
CIE-LABlab(33.54, 21.53, -51.19)
CIE-LCHlch(33.54, 55.54, 292.81°)
OKLaboklab(43.5% -0.0063 -0.1474)
OKLCHoklch(43.5% 0.147 267.6)
XYZxyz(9.8749, 7.7878, 34.6941)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E48A1 #A1872E
analogous
#2E81A1 #2E48A1 #4D2EA1
triadic
#2E48A1 #A12E48 #48A12E
tetradic
#2E48A1 #A12E81 #A1872E #2EA14D
square
#2E48A1 #A12E81 #A1872E #2EA14D
split-complementary
#2E48A1 #A14D2E #81A12E
monochromatic
#131D42 #203371 #2E48A1 #4361C9 #7389D7

Accessibility & contrast

On white

8.21
#2E48A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2E48A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E48A1
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E48A1#FFFFFF#000000##FFFFFF
##2E48A11.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#004A9F
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e48a1;
/* rgb */ color: rgb(46, 72, 161);
/* oklch */ color: oklch(43.5% 0.147 267.6);
Tailwind
colors: {
  custom: {
    50: '#767abd',
    500: '#2e48a1',
    950: '#000000',
  },
}
SCSS
$custom: #2e48a1;
$custom-light: #767abd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e48a1",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 161
  },
  "hsl": {
    "h": 226.435,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43502,
    "c": 0.14749,
    "h": 267.6
  },
  "luminance": 0.07789
}

Semantic roles & 50–950 ramp

primary
#2E48A1
secondary
#BEAC6C
accent
#BD49DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E48A1

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

Preview Lab → · Contrast checker → · Palette generator →

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