#2E58B6#2E58B6

#2E58B6 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.5% C 0.157 H 263.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#2E58B6
RGBrgb(46, 88, 182)
HSLhsl(221, 60%, 45%)
HSVhsv(221, 75%, 71%)
CMYKcmyk(74.7%, 51.6%, 0%, 28.6%)
CIE-LABlab(39.47, 18.88, -54.07)
CIE-LCHlch(39.47, 57.27, 289.25°)
OKLaboklab(48.48% -0.0176 -0.1555)
OKLCHoklch(48.48% 0.157 263.5)
XYZxyz(13.0569, 10.9363, 45.6697)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E58B6 #B68C2E
analogous
#2E9CB6 #2E58B6 #482EB6
triadic
#2E58B6 #B62E58 #58B62E
tetradic
#2E58B6 #B62E9C #B68C2E #2EB648
square
#2E58B6 #B62E9C #B68C2E #2EB648
split-complementary
#2E58B6 #B6482E #9CB62E
monochromatic
#152954 #224085 #2E58B6 #4F77D2 #809DDF

Accessibility & contrast

On white

6.59
#2E58B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2E58B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E58B6
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E58B6#FFFFFF#000000##FFFFFF
##2E58B61.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B64B9
Deuteranopia (green-blind)
#0057B4
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e58b6;
/* rgb */ color: rgb(46, 88, 182);
/* oklch */ color: oklch(48.5% 0.157 263.5);
Tailwind
colors: {
  custom: {
    50: '#7a86cc',
    500: '#2e58b6',
    950: '#000000',
  },
}
SCSS
$custom: #2e58b6;
$custom-light: #7a86cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e58b6",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 182
  },
  "hsl": {
    "h": 221.471,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48479,
    "c": 0.15654,
    "h": 263.5
  },
  "luminance": 0.10938
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E58B6

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

Preview Lab → · Contrast checker → · Palette generator →

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