#2E48A8#2E48A8

#2E48A8 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.157 H 267.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2E48A8
RGBrgb(46, 72, 168)
HSLhsl(227, 57%, 42%)
HSVhsv(227, 73%, 66%)
CMYKcmyk(72.6%, 57.1%, 0%, 34.1%)
CIE-LABlab(34.07, 24.17, -54.53)
CIE-LCHlch(34.07, 59.65, 293.90°)
OKLaboklab(44.07% -0.0059 -0.1572)
OKLCHoklch(44.07% 0.157 267.9)
XYZxyz(10.5095, 8.0416, 38.0365)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E48A8 #A88E2E
analogous
#2E85A8 #2E48A8 #512EA8
triadic
#2E48A8 #A82E48 #48A82E
tetradic
#2E48A8 #A82E85 #A88E2E #2EA851
square
#2E48A8 #A82E85 #A88E2E #2EA851
split-complementary
#2E48A8 #A8512E #85A82E
monochromatic
#141F48 #213378 #2E48A8 #4763CD #778CDA

Accessibility & contrast

On white

8.05
#2E48A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2E48A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E48A8
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E48A8#FFFFFF#000000##FFFFFF
##2E48A81.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e48a8;
/* rgb */ color: rgb(46, 72, 168);
/* oklch */ color: oklch(44.1% 0.157 267.9);
Tailwind
colors: {
  custom: {
    50: '#777ac3',
    500: '#2e48a8',
    950: '#000000',
  },
}
SCSS
$custom: #2e48a8;
$custom-light: #777ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e48a8",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 168
  },
  "hsl": {
    "h": 227.213,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4407,
    "c": 0.15728,
    "h": 267.9
  },
  "luminance": 0.08043
}

Semantic roles & 50–950 ramp

primary
#2E48A8
secondary
#C2B070
accent
#C048E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E48A8

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

Preview Lab → · Contrast checker → · Palette generator →

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