#2E58A8#2E58A8

#2E58A8 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.5% C 0.137 H 261.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#2E58A8
RGBrgb(46, 88, 168)
HSLhsl(219, 57%, 42%)
HSVhsv(219, 73%, 66%)
CMYKcmyk(72.6%, 47.6%, 0%, 34.1%)
CIE-LABlab(38.53, 13.57, -47.33)
CIE-LCHlch(38.53, 49.23, 286.00°)
OKLaboklab(47.45% -0.0195 -0.1357)
OKLCHoklch(47.45% 0.137 261.8)
XYZxyz(11.6818, 10.3862, 38.4273)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E58A8 #A87E2E
analogous
#2E95A8 #2E58A8 #412EA8
triadic
#2E58A8 #A82E58 #58A82E
tetradic
#2E58A8 #A82E95 #A87E2E #2EA841
square
#2E58A8 #A82E95 #A87E2E #2EA841
split-complementary
#2E58A8 #A8412E #95A82E
monochromatic
#142648 #213F78 #2E58A8 #4775CD #7799DA

Accessibility & contrast

On white

6.82
#2E58A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2E58A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E58A8
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E58A8#FFFFFF#000000##FFFFFF
##2E58A81.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D61AB
Deuteranopia (green-blind)
#0F55A6
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e58a8;
/* rgb */ color: rgb(46, 88, 168);
/* oklch */ color: oklch(47.5% 0.137 261.8);
Tailwind
colors: {
  custom: {
    50: '#7786c2',
    500: '#2e58a8',
    950: '#000000',
  },
}
SCSS
$custom: #2e58a8;
$custom-light: #7786c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e58a8",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 168
  },
  "hsl": {
    "h": 219.344,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47454,
    "c": 0.1371,
    "h": 261.8
  },
  "luminance": 0.10387
}

Semantic roles & 50–950 ramp

primary
#2E58A8
secondary
#C2A670
accent
#AC48E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2E58A8

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

Preview Lab → · Contrast checker → · Palette generator →

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