#2E48B7#2E48B7

#2E48B7 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.178 H 268.2°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2E48B7
RGBrgb(46, 72, 183)
HSLhsl(229, 60%, 45%)
HSVhsv(229, 75%, 72%)
CMYKcmyk(74.9%, 60.7%, 0%, 28.2%)
CIE-LABlab(35.27, 29.77, -61.49)
CIE-LCHlch(35.27, 68.31, 295.83°)
OKLaboklab(45.34% -0.0055 -0.1776)
OKLCHoklch(45.34% 0.178 268.2)
XYZxyz(11.9884, 8.6332, 45.8251)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E48B7 #B79D2E
analogous
#2E8DB7 #2E48B7 #582EB7
triadic
#2E48B7 #B72E48 #48B72E
tetradic
#2E48B7 #B72E8D #B79D2E #2EB758
square
#2E48B7 #B72E8D #B79D2E #2EB758
split-complementary
#2E48B7 #B7582E #8DB72E
monochromatic
#152255 #223586 #2E48B7 #4F68D3 #8092DF

Accessibility & contrast

On white

7.70
#2E48B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2E48B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E48B7
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E48B7#FFFFFF#000000##FFFFFF
##2E48B71.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#004DB5
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e48b7;
/* rgb */ color: rgb(46, 72, 183);
/* oklch */ color: oklch(45.3% 0.178 268.2);
Tailwind
colors: {
  custom: {
    50: '#7b7acd',
    500: '#2e48b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e48b7;
$custom-light: #7b7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e48b7",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 228.613,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4534,
    "c": 0.17769,
    "h": 268.2
  },
  "luminance": 0.08634
}

Semantic roles & 50–950 ramp

primary
#2E48B7
secondary
#C8B979
accent
#C545E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2E48B7

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

Preview Lab → · Contrast checker → · Palette generator →

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