#2E48A6#2E48A6

#2E48A6 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.154 H 267.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#2E48A6
RGBrgb(46, 72, 166)
HSLhsl(227, 57%, 42%)
HSVhsv(227, 72%, 65%)
CMYKcmyk(72.3%, 56.6%, 0%, 34.9%)
CIE-LABlab(33.92, 23.42, -53.58)
CIE-LCHlch(33.92, 58.48, 293.61°)
OKLaboklab(43.91% -0.006 -0.1544)
OKLCHoklch(43.91% 0.155 267.8)
XYZxyz(10.3246, 7.9677, 37.0628)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E48A6 #A68C2E
analogous
#2E84A6 #2E48A6 #502EA6
triadic
#2E48A6 #A62E48 #48A62E
tetradic
#2E48A6 #A62E84 #A68C2E #2EA650
square
#2E48A6 #A62E84 #A68C2E #2EA650
split-complementary
#2E48A6 #A6502E #84A62E
monochromatic
#131E46 #213376 #2E48A6 #4663CC #768BD9

Accessibility & contrast

On white

8.10
#2E48A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E48A6
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E48A6#FFFFFF#000000##FFFFFF
##2E48A61.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e48a6;
/* rgb */ color: rgb(46, 72, 166);
/* oklch */ color: oklch(43.9% 0.154 267.8);
Tailwind
colors: {
  custom: {
    50: '#777ac1',
    500: '#2e48a6',
    950: '#000000',
  },
}
SCSS
$custom: #2e48a6;
$custom-light: #777ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e48a6",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 166
  },
  "hsl": {
    "h": 227,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43906,
    "c": 0.1545,
    "h": 267.8
  },
  "luminance": 0.07969
}

Semantic roles & 50–950 ramp

primary
#2E48A6
secondary
#C1AF6F
accent
#BF48E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E48A6

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

Preview Lab → · Contrast checker → · Palette generator →

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