#2E58AB#2E58AB

#2E58AB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.7% C 0.141 H 262.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2E58AB
RGBrgb(46, 88, 171)
HSLhsl(220, 58%, 43%)
HSVhsv(220, 73%, 67%)
CMYKcmyk(73.1%, 48.5%, 0%, 32.9%)
CIE-LABlab(38.72, 14.71, -48.79)
CIE-LCHlch(38.72, 50.96, 286.77°)
OKLaboklab(47.67% -0.0191 -0.14)
OKLCHoklch(47.67% 0.141 262.2)
XYZxyz(11.9645, 10.4993, 39.9162)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E58AB #AB812E
analogous
#2E97AB #2E58AB #422EAB
triadic
#2E58AB #AB2E58 #58AB2E
tetradic
#2E58AB #AB2E97 #AB812E #2EAB42
square
#2E58AB #AB2E97 #AB812E #2EAB42
split-complementary
#2E58AB #AB422E #97AB2E
monochromatic
#14264B #213F7B #2E58AB #4875CE #799ADB

Accessibility & contrast

On white

6.77
#2E58AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2E58AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E58AB
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E58AB#FFFFFF#000000##FFFFFF
##2E58AB1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A61AE
Deuteranopia (green-blind)
#0456A9
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e58ab;
/* rgb */ color: rgb(46, 88, 171);
/* oklch */ color: oklch(47.7% 0.141 262.2);
Tailwind
colors: {
  custom: {
    50: '#7786c4',
    500: '#2e58ab',
    950: '#000000',
  },
}
SCSS
$custom: #2e58ab;
$custom-light: #7786c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e58ab",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 171
  },
  "hsl": {
    "h": 219.84,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47668,
    "c": 0.1413,
    "h": 262.2
  },
  "luminance": 0.10501
}

Semantic roles & 50–950 ramp

primary
#2E58AB
secondary
#C3A872
accent
#AD47E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E58AB

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

Preview Lab → · Contrast checker → · Palette generator →

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