#2E58B9#2E58B9

#2E58B9 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.7% C 0.161 H 263.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#2E58B9
RGBrgb(46, 88, 185)
HSLhsl(222, 60%, 45%)
HSVhsv(222, 75%, 73%)
CMYKcmyk(75.1%, 52.4%, 0%, 27.5%)
CIE-LABlab(39.68, 20.02, -55.49)
CIE-LCHlch(39.68, 58.99, 289.84°)
OKLaboklab(48.71% -0.0173 -0.1597)
OKLCHoklch(48.71% 0.161 263.8)
XYZxyz(13.3703, 11.0616, 47.3200)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E58B9 #B98F2E
analogous
#2E9DB9 #2E58B9 #4A2EB9
triadic
#2E58B9 #B92E58 #58B92E
tetradic
#2E58B9 #B92E9D #B98F2E #2EB94A
square
#2E58B9 #B92E9D #B98F2E #2EB94A
split-complementary
#2E58B9 #B94A2E #9DB92E
monochromatic
#162957 #224188 #2E58B9 #5178D4 #829EE0

Accessibility & contrast

On white

6.54
#2E58B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2E58B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E58B9
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E58B9#FFFFFF#000000##FFFFFF
##2E58B91.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1564BC
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e58b9;
/* rgb */ color: rgb(46, 88, 185);
/* oklch */ color: oklch(48.7% 0.161 263.8);
Tailwind
colors: {
  custom: {
    50: '#7a86cf',
    500: '#2e58b9',
    950: '#000000',
  },
}
SCSS
$custom: #2e58b9;
$custom-light: #7a86cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e58b9",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 185
  },
  "hsl": {
    "h": 221.871,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48707,
    "c": 0.16066,
    "h": 263.8
  },
  "luminance": 0.11063
}

Semantic roles & 50–950 ramp

primary
#2E58B9
secondary
#C9B17A
accent
#B344E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E58B9

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

Preview Lab → · Contrast checker → · Palette generator →

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