#2E58A2#2E58A2

#2E58A2 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.0% C 0.129 H 260.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2E58A2
RGBrgb(46, 88, 162)
HSLhsl(218, 56%, 41%)
HSVhsv(218, 72%, 64%)
CMYKcmyk(71.6%, 45.7%, 0%, 36.5%)
CIE-LABlab(38.14, 11.29, -44.37)
CIE-LCHlch(38.14, 45.78, 284.28°)
OKLaboklab(47.03% -0.0205 -0.127)
OKLCHoklch(47.03% 0.129 260.8)
XYZxyz(11.1357, 10.1678, 35.5511)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E58A2 #A2782E
analogous
#2E92A2 #2E58A2 #3E2EA2
triadic
#2E58A2 #A22E58 #58A22E
tetradic
#2E58A2 #A22E92 #A2782E #2EA23E
square
#2E58A2 #A22E92 #A2782E #2EA23E
split-complementary
#2E58A2 #A23E2E #92A22E
monochromatic
#132443 #203E72 #2E58A2 #4374CA #7397D7

Accessibility & contrast

On white

6.92
#2E58A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2E58A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E58A2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E58A2#FFFFFF#000000##FFFFFF
##2E58A21.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3360A5
Deuteranopia (green-blind)
#1C55A0
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e58a2;
/* rgb */ color: rgb(46, 88, 162);
/* oklch */ color: oklch(47.0% 0.129 260.8);
Tailwind
colors: {
  custom: {
    50: '#7586be',
    500: '#2e58a2',
    950: '#000000',
  },
}
SCSS
$custom: #2e58a2;
$custom-light: #7586be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e58a2",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 162
  },
  "hsl": {
    "h": 218.276,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47034,
    "c": 0.12866,
    "h": 260.8
  },
  "luminance": 0.10169
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E58A2

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

Preview Lab → · Contrast checker → · Palette generator →

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