#2E58B4#2E58B4

#2E58B4 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.3% C 0.154 H 263.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2E58B4
RGBrgb(46, 88, 180)
HSLhsl(221, 59%, 44%)
HSVhsv(221, 74%, 71%)
CMYKcmyk(74.4%, 51.1%, 0%, 29.4%)
CIE-LABlab(39.33, 18.12, -53.12)
CIE-LCHlch(39.33, 56.12, 288.84°)
OKLaboklab(48.33% -0.0179 -0.1527)
OKLCHoklch(48.33% 0.154 263.3)
XYZxyz(12.8517, 10.8542, 44.5889)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E58B4 #B48A2E
analogous
#2E9BB4 #2E58B4 #472EB4
triadic
#2E58B4 #B42E58 #58B42E
tetradic
#2E58B4 #B42E9B #B48A2E #2EB447
square
#2E58B4 #B42E9B #B48A2E #2EB447
split-complementary
#2E58B4 #B4472E #9BB42E
monochromatic
#152853 #224083 #2E58B4 #4E77D2 #7E9CDE

Accessibility & contrast

On white

6.62
#2E58B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2E58B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E58B4
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E58B4#FFFFFF#000000##FFFFFF
##2E58B41.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F63B7
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e58b4;
/* rgb */ color: rgb(46, 88, 180);
/* oklch */ color: oklch(48.3% 0.154 263.3);
Tailwind
colors: {
  custom: {
    50: '#7986cb',
    500: '#2e58b4',
    950: '#000000',
  },
}
SCSS
$custom: #2e58b4;
$custom-light: #7986cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e58b4",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 180
  },
  "hsl": {
    "h": 221.194,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48329,
    "c": 0.15379,
    "h": 263.3
  },
  "luminance": 0.10856
}

Semantic roles & 50–950 ramp

primary
#2E58B4
secondary
#C7AE77
accent
#B145E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E58B4

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

Preview Lab → · Contrast checker → · Palette generator →

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