#2E58B7#2E58B7

#2E58B7 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.6% C 0.158 H 263.6°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#2E58B7
RGBrgb(46, 88, 183)
HSLhsl(222, 60%, 45%)
HSVhsv(222, 75%, 72%)
CMYKcmyk(74.9%, 51.9%, 0%, 28.2%)
CIE-LABlab(39.54, 19.26, -54.54)
CIE-LCHlch(39.54, 57.84, 289.45°)
OKLaboklab(48.56% -0.0175 -0.1569)
OKLCHoklch(48.56% 0.158 263.6)
XYZxyz(13.1606, 10.9777, 46.2159)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E58B7 #B78D2E
analogous
#2E9CB7 #2E58B7 #492EB7
triadic
#2E58B7 #B72E58 #58B72E
tetradic
#2E58B7 #B72E9C #B78D2E #2EB749
square
#2E58B7 #B72E9C #B78D2E #2EB749
split-complementary
#2E58B7 #B7492E #9CB72E
monochromatic
#152955 #224086 #2E58B7 #4F78D3 #809DDF

Accessibility & contrast

On white

6.57
#2E58B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2E58B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E58B7
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E58B7#FFFFFF#000000##FFFFFF
##2E58B71.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1964BA
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e58b7;
/* rgb */ color: rgb(46, 88, 183);
/* oklch */ color: oklch(48.6% 0.158 263.6);
Tailwind
colors: {
  custom: {
    50: '#7a86cd',
    500: '#2e58b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e58b7;
$custom-light: #7a86cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e58b7",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 183
  },
  "hsl": {
    "h": 221.606,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48555,
    "c": 0.15791,
    "h": 263.6
  },
  "luminance": 0.10979
}

Semantic roles & 50–950 ramp

primary
#2E58B7
secondary
#C8B079
accent
#B245E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #2E58B7

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

Preview Lab → · Contrast checker → · Palette generator →

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