#2E58B8#2E58B8

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

Color values

HEX#2E58B8
RGBrgb(46, 88, 184)
HSLhsl(222, 60%, 45%)
HSVhsv(222, 75%, 72%)
CMYKcmyk(75%, 52.2%, 0%, 27.8%)
CIE-LABlab(39.61, 19.64, -55.01)
CIE-LCHlch(39.61, 58.42, 289.65°)
OKLaboklab(48.63% -0.0174 -0.1583)
OKLCHoklch(48.63% 0.159 263.7)
XYZxyz(13.2651, 11.0195, 46.7660)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E58B8 #B88E2E
analogous
#2E9DB8 #2E58B8 #492EB8
triadic
#2E58B8 #B82E58 #58B82E
tetradic
#2E58B8 #B82E9D #B88E2E #2EB849
square
#2E58B8 #B82E9D #B88E2E #2EB849
split-complementary
#2E58B8 #B8492E #9DB82E
monochromatic
#162956 #224187 #2E58B8 #5078D3 #819EDF

Accessibility & contrast

On white

6.55
#2E58B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E58B8
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E58B8#FFFFFF#000000##FFFFFF
##2E58B81.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1764BB
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e58b8;
/* rgb */ color: rgb(46, 88, 184);
/* oklch */ color: oklch(48.6% 0.159 263.7);
Tailwind
colors: {
  custom: {
    50: '#7a86ce',
    500: '#2e58b8',
    950: '#000000',
  },
}
SCSS
$custom: #2e58b8;
$custom-light: #7a86ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e58b8",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 184
  },
  "hsl": {
    "h": 221.739,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48631,
    "c": 0.15929,
    "h": 263.7
  },
  "luminance": 0.11021
}

Semantic roles & 50–950 ramp

primary
#2E58B8
secondary
#C8B079
accent
#B345E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E58B8

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

Preview Lab → · Contrast checker → · Palette generator →

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