#2E58A3#2E58A3

#2E58A3 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.1% C 0.130 H 261.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2E58A3
RGBrgb(46, 88, 163)
HSLhsl(218, 56%, 41%)
HSVhsv(218, 72%, 64%)
CMYKcmyk(71.8%, 46%, 0%, 36.1%)
CIE-LABlab(38.21, 11.67, -44.87)
CIE-LCHlch(38.21, 46.36, 284.58°)
OKLaboklab(47.1% -0.0204 -0.1285)
OKLCHoklch(47.1% 0.13 261)
XYZxyz(11.2249, 10.2035, 36.0211)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E58A3 #A3792E
analogous
#2E92A3 #2E58A3 #3F2EA3
triadic
#2E58A3 #A32E58 #58A32E
tetradic
#2E58A3 #A32E92 #A3792E #2EA33F
square
#2E58A3 #A32E92 #A3792E #2EA33F
split-complementary
#2E58A3 #A33F2E #92A32E
monochromatic
#132444 #213E73 #2E58A3 #4474CA #7498D8

Accessibility & contrast

On white

6.91
#2E58A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2E58A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E58A3
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E58A3#FFFFFF#000000##FFFFFF
##2E58A31.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3260A6
Deuteranopia (green-blind)
#1A55A1
Tritanopia (blue-blind)
#006A75
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e58a3;
/* rgb */ color: rgb(46, 88, 163);
/* oklch */ color: oklch(47.1% 0.130 261.0);
Tailwind
colors: {
  custom: {
    50: '#7686bf',
    500: '#2e58a3',
    950: '#000000',
  },
}
SCSS
$custom: #2e58a3;
$custom-light: #7686bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e58a3",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 163
  },
  "hsl": {
    "h": 218.462,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47103,
    "c": 0.13007,
    "h": 261
  },
  "luminance": 0.10205
}

Semantic roles & 50–950 ramp

primary
#2E58A3
secondary
#BFA26D
accent
#A949DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E58A3

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

Preview Lab → · Contrast checker → · Palette generator →

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