#2E48A9#2E48A9

#2E48A9 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.159 H 267.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#2E48A9
RGBrgb(46, 72, 169)
HSLhsl(227, 57%, 42%)
HSVhsv(227, 73%, 66%)
CMYKcmyk(72.8%, 57.4%, 0%, 33.7%)
CIE-LABlab(34.15, 24.54, -55.00)
CIE-LCHlch(34.15, 60.23, 294.05°)
OKLaboklab(44.15% -0.0058 -0.1585)
OKLCHoklch(44.15% 0.159 267.9)
XYZxyz(10.6030, 8.0790, 38.5290)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E48A9 #A98F2E
analogous
#2E86A9 #2E48A9 #522EA9
triadic
#2E48A9 #A92E48 #48A92E
tetradic
#2E48A9 #A92E86 #A98F2E #2EA952
square
#2E48A9 #A92E86 #A98F2E #2EA952
split-complementary
#2E48A9 #A9522E #86A92E
monochromatic
#141F49 #213479 #2E48A9 #4763CD #778CDA

Accessibility & contrast

On white

8.03
#2E48A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2E48A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E48A9
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E48A9#FFFFFF#000000##FFFFFF
##2E48A91.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#004BA7
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e48a9;
/* rgb */ color: rgb(46, 72, 169);
/* oklch */ color: oklch(44.2% 0.159 267.9);
Tailwind
colors: {
  custom: {
    50: '#787ac3',
    500: '#2e48a9',
    950: '#000000',
  },
}
SCSS
$custom: #2e48a9;
$custom-light: #787ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e48a9",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 169
  },
  "hsl": {
    "h": 227.317,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44153,
    "c": 0.15866,
    "h": 267.9
  },
  "luminance": 0.0808
}

Semantic roles & 50–950 ramp

primary
#2E48A9
secondary
#C2B171
accent
#C047E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E48A9

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

Preview Lab → · Contrast checker → · Palette generator →

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