#2E58B5#2E58B5

#2E58B5 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.4% C 0.155 H 263.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#2E58B5
RGBrgb(46, 88, 181)
HSLhsl(221, 59%, 45%)
HSVhsv(221, 75%, 71%)
CMYKcmyk(74.6%, 51.4%, 0%, 29%)
CIE-LABlab(39.40, 18.50, -53.59)
CIE-LCHlch(39.40, 56.70, 289.05°)
OKLaboklab(48.4% -0.0177 -0.1541)
OKLCHoklch(48.4% 0.155 263.4)
XYZxyz(12.9540, 10.8951, 45.1274)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E58B5 #B58B2E
analogous
#2E9CB5 #2E58B5 #472EB5
triadic
#2E58B5 #B52E58 #58B52E
tetradic
#2E58B5 #B52E9C #B58B2E #2EB547
square
#2E58B5 #B52E9C #B58B2E #2EB547
split-complementary
#2E58B5 #B5472E #9CB52E
monochromatic
#152953 #224084 #2E58B5 #4E77D2 #7F9DDE

Accessibility & contrast

On white

6.61
#2E58B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2E58B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E58B5
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E58B5#FFFFFF#000000##FFFFFF
##2E58B51.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D63B8
Deuteranopia (green-blind)
#0057B3
Tritanopia (blue-blind)
#006E7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e58b5;
/* rgb */ color: rgb(46, 88, 181);
/* oklch */ color: oklch(48.4% 0.155 263.4);
Tailwind
colors: {
  custom: {
    50: '#7986cc',
    500: '#2e58b5',
    950: '#000000',
  },
}
SCSS
$custom: #2e58b5;
$custom-light: #7986cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e58b5",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 181
  },
  "hsl": {
    "h": 221.333,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48404,
    "c": 0.15517,
    "h": 263.4
  },
  "luminance": 0.10896
}

Semantic roles & 50–950 ramp

primary
#2E58B5
secondary
#C7AE78
accent
#B245E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E58B5

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

Preview Lab → · Contrast checker → · Palette generator →

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