#2E58A5#2E58A5

#2E58A5 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.2% C 0.133 H 261.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2E58A5
RGBrgb(46, 88, 165)
HSLhsl(219, 56%, 41%)
HSVhsv(219, 72%, 65%)
CMYKcmyk(72.1%, 46.7%, 0%, 35.3%)
CIE-LABlab(38.33, 12.43, -45.85)
CIE-LCHlch(38.33, 47.51, 285.16°)
OKLaboklab(47.24% -0.02 -0.1314)
OKLCHoklch(47.24% 0.133 261.3)
XYZxyz(11.4055, 10.2757, 36.9723)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E58A5 #A57B2E
analogous
#2E94A5 #2E58A5 #402EA5
triadic
#2E58A5 #A52E58 #58A52E
tetradic
#2E58A5 #A52E94 #A57B2E #2EA540
square
#2E58A5 #A52E94 #A57B2E #2EA540
split-complementary
#2E58A5 #A5402E #94A52E
monochromatic
#132545 #213E75 #2E58A5 #4574CB #7598D8

Accessibility & contrast

On white

6.87
#2E58A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2E58A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E58A5
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E58A5#FFFFFF#000000##FFFFFF
##2E58A51.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3060A8
Deuteranopia (green-blind)
#1655A3
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e58a5;
/* rgb */ color: rgb(46, 88, 165);
/* oklch */ color: oklch(47.2% 0.133 261.3);
Tailwind
colors: {
  custom: {
    50: '#7686c0',
    500: '#2e58a5',
    950: '#000000',
  },
}
SCSS
$custom: #2e58a5;
$custom-light: #7686c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e58a5",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 165
  },
  "hsl": {
    "h": 218.824,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47242,
    "c": 0.13289,
    "h": 261.3
  },
  "luminance": 0.10277
}

Semantic roles & 50–950 ramp

primary
#2E58A5
secondary
#C0A36F
accent
#AA48E0
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2E58A5

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

Preview Lab → · Contrast checker → · Palette generator →

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