#2E58AC#2E58AC

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

Color values

HEX#2E58AC
RGBrgb(46, 88, 172)
HSLhsl(220, 58%, 43%)
HSVhsv(220, 73%, 67%)
CMYKcmyk(73.3%, 48.8%, 0%, 32.5%)
CIE-LABlab(38.79, 15.09, -49.27)
CIE-LCHlch(38.79, 51.53, 287.02°)
OKLaboklab(47.74% -0.0189 -0.1414)
OKLCHoklch(47.74% 0.143 262.4)
XYZxyz(12.0602, 10.5375, 40.4201)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E58AC #AC822E
analogous
#2E97AC #2E58AC #432EAC
triadic
#2E58AC #AC2E58 #58AC2E
tetradic
#2E58AC #AC2E97 #AC822E #2EAC43
square
#2E58AC #AC2E97 #AC822E #2EAC43
split-complementary
#2E58AC #AC432E #97AC2E
monochromatic
#14274B #213F7C #2E58AC #4975CE #799ADB

Accessibility & contrast

On white

6.76
#2E58AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2E58AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E58AC
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E58AC#FFFFFF#000000##FFFFFF
##2E58AC1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2961AF
Deuteranopia (green-blind)
#0056AA
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e58ac;
/* rgb */ color: rgb(46, 88, 172);
/* oklch */ color: oklch(47.7% 0.143 262.4);
Tailwind
colors: {
  custom: {
    50: '#7786c5',
    500: '#2e58ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e58ac;
$custom-light: #7786c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e58ac",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 172
  },
  "hsl": {
    "h": 220,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4774,
    "c": 0.14269,
    "h": 262.4
  },
  "luminance": 0.10539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E58AC

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

Preview Lab → · Contrast checker → · Palette generator →

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