#2E48A4#2E48A4

#2E48A4 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.152 H 267.7°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#2E48A4
RGBrgb(46, 72, 164)
HSLhsl(227, 56%, 41%)
HSVhsv(227, 72%, 64%)
CMYKcmyk(72%, 56.1%, 0%, 35.7%)
CIE-LABlab(33.76, 22.66, -52.63)
CIE-LCHlch(33.76, 57.30, 293.30°)
OKLaboklab(43.74% -0.0061 -0.1516)
OKLCHoklch(43.74% 0.152 267.7)
XYZxyz(10.1426, 7.8949, 36.1041)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E48A4 #A48A2E
analogous
#2E83A4 #2E48A4 #4F2EA4
triadic
#2E48A4 #A42E48 #48A42E
tetradic
#2E48A4 #A42E83 #A48A2E #2EA44F
square
#2E48A4 #A42E83 #A48A2E #2EA44F
split-complementary
#2E48A4 #A44F2E #83A42E
monochromatic
#131E44 #213374 #2E48A4 #4562CB #748AD8

Accessibility & contrast

On white

8.14
#2E48A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2E48A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E48A4
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E48A4#FFFFFF#000000##FFFFFF
##2E48A41.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e48a4;
/* rgb */ color: rgb(46, 72, 164);
/* oklch */ color: oklch(43.7% 0.152 267.7);
Tailwind
colors: {
  custom: {
    50: '#777ac0',
    500: '#2e48a4',
    950: '#000000',
  },
}
SCSS
$custom: #2e48a4;
$custom-light: #777ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e48a4",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 164
  },
  "hsl": {
    "h": 226.78,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43744,
    "c": 0.1517,
    "h": 267.7
  },
  "luminance": 0.07896
}

Semantic roles & 50–950 ramp

primary
#2E48A4
secondary
#C0AE6E
accent
#BE48DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E48A4

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

Preview Lab → · Contrast checker → · Palette generator →

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