#2E58A9#2E58A9

#2E58A9 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.5% C 0.139 H 262.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#2E58A9
RGBrgb(46, 88, 169)
HSLhsl(220, 57%, 42%)
HSVhsv(220, 73%, 66%)
CMYKcmyk(72.8%, 47.9%, 0%, 33.7%)
CIE-LABlab(38.59, 13.95, -47.81)
CIE-LCHlch(38.59, 49.81, 286.26°)
OKLaboklab(47.53% -0.0194 -0.1371)
OKLCHoklch(47.53% 0.139 262)
XYZxyz(11.7753, 10.4236, 38.9198)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E58A9 #A97F2E
analogous
#2E96A9 #2E58A9 #422EA9
triadic
#2E58A9 #A92E58 #58A92E
tetradic
#2E58A9 #A92E96 #A97F2E #2EA942
square
#2E58A9 #A92E96 #A97F2E #2EA942
split-complementary
#2E58A9 #A9422E #96A92E
monochromatic
#142649 #213F79 #2E58A9 #4775CD #7799DA

Accessibility & contrast

On white

6.81
#2E58A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2E58A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E58A9
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E58A9#FFFFFF#000000##FFFFFF
##2E58A91.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C61AC
Deuteranopia (green-blind)
#0C56A7
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e58a9;
/* rgb */ color: rgb(46, 88, 169);
/* oklch */ color: oklch(47.5% 0.139 262.0);
Tailwind
colors: {
  custom: {
    50: '#7786c3',
    500: '#2e58a9',
    950: '#000000',
  },
}
SCSS
$custom: #2e58a9;
$custom-light: #7786c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e58a9",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 169
  },
  "hsl": {
    "h": 219.512,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47525,
    "c": 0.1385,
    "h": 262
  },
  "luminance": 0.10425
}

Semantic roles & 50–950 ramp

primary
#2E58A9
secondary
#C2A671
accent
#AC47E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2E58A9

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

Preview Lab → · Contrast checker → · Palette generator →

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