#2E58BA#2E58BA

#2E58BA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.162 H 263.9°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#2E58BA
RGBrgb(46, 88, 186)
HSLhsl(222, 60%, 45%)
HSVhsv(222, 75%, 73%)
CMYKcmyk(75.3%, 52.7%, 0%, 27.1%)
CIE-LABlab(39.76, 20.40, -55.96)
CIE-LCHlch(39.76, 59.56, 290.03°)
OKLaboklab(48.78% -0.0172 -0.1611)
OKLCHoklch(48.78% 0.162 263.9)
XYZxyz(13.4762, 11.1040, 47.8779)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E58BA #BA902E
analogous
#2E9EBA #2E58BA #4A2EBA
triadic
#2E58BA #BA2E58 #58BA2E
tetradic
#2E58BA #BA2E9E #BA902E #2EBA4A
square
#2E58BA #BA2E9E #BA902E #2EBA4A
split-complementary
#2E58BA #BA4A2E #9EBA2E
monochromatic
#162A58 #224189 #2E58BA #5178D4 #829EE0

Accessibility & contrast

On white

6.52
#2E58BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2E58BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E58BA
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E58BA#FFFFFF#000000##FFFFFF
##2E58BA1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1364BD
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e58ba;
/* rgb */ color: rgb(46, 88, 186);
/* oklch */ color: oklch(48.8% 0.162 263.9);
Tailwind
colors: {
  custom: {
    50: '#7b86cf',
    500: '#2e58ba',
    950: '#000000',
  },
}
SCSS
$custom: #2e58ba;
$custom-light: #7b86cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e58ba",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 222,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48783,
    "c": 0.16202,
    "h": 263.9
  },
  "luminance": 0.11105
}

Semantic roles & 50–950 ramp

primary
#2E58BA
secondary
#C9B27B
accent
#B444E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E58BA

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

Preview Lab → · Contrast checker → · Palette generator →

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