#2E48AF#2E48AF

#2E48AF is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.167 H 268.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#2E48AF
RGBrgb(46, 72, 175)
HSLhsl(228, 58%, 43%)
HSVhsv(228, 74%, 69%)
CMYKcmyk(73.7%, 58.9%, 0%, 31.4%)
CIE-LABlab(34.62, 26.79, -57.81)
CIE-LCHlch(34.62, 63.71, 294.87°)
OKLaboklab(44.65% -0.0056 -0.1668)
OKLCHoklch(44.65% 0.167 268.1)
XYZxyz(11.1793, 8.3095, 41.5639)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E48AF #AF952E
analogous
#2E88AF #2E48AF #542EAF
triadic
#2E48AF #AF2E48 #48AF2E
tetradic
#2E48AF #AF2E88 #AF952E #2EAF54
square
#2E48AF #AF2E88 #AF952E #2EAF54
split-complementary
#2E48AF #AF542E #88AF2E
monochromatic
#15204E #21347F #2E48AF #4B65D0 #7B8FDC

Accessibility & contrast

On white

7.89
#2E48AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2E48AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E48AF
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E48AF#FFFFFF#000000##FFFFFF
##2E48AF1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e48af;
/* rgb */ color: rgb(46, 72, 175);
/* oklch */ color: oklch(44.7% 0.167 268.1);
Tailwind
colors: {
  custom: {
    50: '#797ac8',
    500: '#2e48af',
    950: '#000000',
  },
}
SCSS
$custom: #2e48af;
$custom-light: #797ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e48af",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 227.907,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44654,
    "c": 0.1669,
    "h": 268.1
  },
  "luminance": 0.08311
}

Semantic roles & 50–950 ramp

primary
#2E48AF
secondary
#C5B474
accent
#C246E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E48AF

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

Preview Lab → · Contrast checker → · Palette generator →

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