#2E48A5#2E48A5

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

Color values

HEX#2E48A5
RGBrgb(46, 72, 165)
HSLhsl(227, 56%, 41%)
HSVhsv(227, 72%, 65%)
CMYKcmyk(72.1%, 56.4%, 0%, 35.3%)
CIE-LABlab(33.84, 23.04, -53.11)
CIE-LCHlch(33.84, 57.89, 293.45°)
OKLaboklab(43.83% -0.006 -0.153)
OKLCHoklch(43.83% 0.153 267.7)
XYZxyz(10.2333, 7.9311, 36.5816)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E48A5 #A58B2E
analogous
#2E84A5 #2E48A5 #502EA5
triadic
#2E48A5 #A52E48 #48A52E
tetradic
#2E48A5 #A52E84 #A58B2E #2EA550
square
#2E48A5 #A52E84 #A58B2E #2EA550
split-complementary
#2E48A5 #A5502E #84A52E
monochromatic
#131E45 #213375 #2E48A5 #4562CB #758BD8

Accessibility & contrast

On white

8.12
#2E48A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2E48A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E48A5
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E48A5#FFFFFF#000000##FFFFFF
##2E48A51.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e48a5;
/* rgb */ color: rgb(46, 72, 165);
/* oklch */ color: oklch(43.8% 0.153 267.7);
Tailwind
colors: {
  custom: {
    50: '#777ac0',
    500: '#2e48a5',
    950: '#000000',
  },
}
SCSS
$custom: #2e48a5;
$custom-light: #777ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e48a5",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 165
  },
  "hsl": {
    "h": 226.891,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43825,
    "c": 0.15311,
    "h": 267.7
  },
  "luminance": 0.07932
}

Semantic roles & 50–950 ramp

primary
#2E48A5
secondary
#C0AE6F
accent
#BF48E0
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E48A5

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

Preview Lab → · Contrast checker → · Palette generator →

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