#2E48A3#2E48A3

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

Color values

HEX#2E48A3
RGBrgb(46, 72, 163)
HSLhsl(227, 56%, 41%)
HSVhsv(227, 72%, 64%)
CMYKcmyk(71.8%, 55.8%, 0%, 36.1%)
CIE-LABlab(33.69, 22.29, -52.15)
CIE-LCHlch(33.69, 56.72, 293.14°)
OKLaboklab(43.66% -0.0061 -0.1502)
OKLCHoklch(43.66% 0.15 267.7)
XYZxyz(10.0526, 7.8589, 35.6304)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E48A3 #A3892E
analogous
#2E82A3 #2E48A3 #4E2EA3
triadic
#2E48A3 #A32E48 #48A32E
tetradic
#2E48A3 #A32E82 #A3892E #2EA34E
square
#2E48A3 #A32E82 #A3892E #2EA34E
split-complementary
#2E48A3 #A34E2E #82A32E
monochromatic
#131E44 #213373 #2E48A3 #4462CA #748AD8

Accessibility & contrast

On white

8.16
#2E48A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2E48A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E48A3
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E48A3#FFFFFF#000000##FFFFFF
##2E48A31.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#004AA1
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e48a3;
/* rgb */ color: rgb(46, 72, 163);
/* oklch */ color: oklch(43.7% 0.150 267.7);
Tailwind
colors: {
  custom: {
    50: '#767abf',
    500: '#2e48a3',
    950: '#000000',
  },
}
SCSS
$custom: #2e48a3;
$custom-light: #767abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e48a3",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 163
  },
  "hsl": {
    "h": 226.667,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43663,
    "c": 0.15031,
    "h": 267.7
  },
  "luminance": 0.0786
}

Semantic roles & 50–950 ramp

primary
#2E48A3
secondary
#BFAD6D
accent
#BE49DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E48A3

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

Preview Lab → · Contrast checker → · Palette generator →

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