#2E58C2#2E58C2

#2E58C2 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.4% C 0.173 H 264.5°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#2E58C2
RGBrgb(46, 88, 194)
HSLhsl(223, 62%, 47%)
HSVhsv(223, 76%, 76%)
CMYKcmyk(76.3%, 54.6%, 0%, 23.9%)
CIE-LABlab(40.33, 23.42, -59.69)
CIE-LCHlch(40.33, 64.12, 291.43°)
OKLaboklab(49.41% -0.0165 -0.1721)
OKLCHoklch(49.41% 0.173 264.5)
XYZxyz(14.3506, 11.4537, 52.4829)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E58C2 #C2982E
analogous
#2EA2C2 #2E58C2 #4E2EC2
triadic
#2E58C2 #C22E58 #58C22E
tetradic
#2E58C2 #C22EA2 #C2982E #2EC24E
square
#2E58C2 #C22EA2 #C2982E #2EC24E
split-complementary
#2E58C2 #C24E2E #A2C22E
monochromatic
#172B5F #224291 #2E58C2 #567BD7 #88A2E3

Accessibility & contrast

On white

6.38
#2E58C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#2E58C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E58C2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E58C2#FFFFFF#000000##FFFFFF
##2E58C21.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2e58c2;
/* rgb */ color: rgb(46, 88, 194);
/* oklch */ color: oklch(49.4% 0.173 264.5);
Tailwind
colors: {
  custom: {
    50: '#7c86d5',
    500: '#2e58c2',
    950: '#000000',
  },
}
SCSS
$custom: #2e58c2;
$custom-light: #7c86d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e58c2",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 194
  },
  "hsl": {
    "h": 222.973,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49405,
    "c": 0.17286,
    "h": 264.5
  },
  "luminance": 0.11455
}

Semantic roles & 50–950 ramp

primary
#2E58C2
secondary
#CCB77F
accent
#B743E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2E58C2

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

Preview Lab → · Contrast checker → · Palette generator →

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