#2E58A0#2E58A0

#2E58A0 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 46.9% C 0.126 H 260.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2E58A0
RGBrgb(46, 88, 160)
HSLhsl(218, 55%, 40%)
HSVhsv(218, 71%, 63%)
CMYKcmyk(71.2%, 45%, 0%, 37.3%)
CIE-LABlab(38.02, 10.53, -43.38)
CIE-LCHlch(38.02, 44.64, 283.65°)
OKLaboklab(46.9% -0.0209 -0.1241)
OKLCHoklch(46.9% 0.126 260.4)
XYZxyz(10.9593, 10.0972, 34.6223)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E58A0 #A0762E
analogous
#2E91A0 #2E58A0 #3D2EA0
triadic
#2E58A0 #A02E58 #58A02E
tetradic
#2E58A0 #A02E91 #A0762E #2EA03D
square
#2E58A0 #A02E91 #A0762E #2EA03D
split-complementary
#2E58A0 #A03D2E #91A02E
monochromatic
#132441 #203E70 #2E58A0 #4274C9 #7297D6

Accessibility & contrast

On white

6.95
#2E58A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2E58A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E58A0
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E58A0#FFFFFF#000000##FFFFFF
##2E58A01.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345FA3
Deuteranopia (green-blind)
#1F559F
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e58a0;
/* rgb */ color: rgb(46, 88, 160);
/* oklch */ color: oklch(46.9% 0.126 260.4);
Tailwind
colors: {
  custom: {
    50: '#7586bc',
    500: '#2e58a0',
    950: '#000000',
  },
}
SCSS
$custom: #2e58a0;
$custom-light: #7586bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e58a0",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 160
  },
  "hsl": {
    "h": 217.895,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46897,
    "c": 0.12584,
    "h": 260.4
  },
  "luminance": 0.10098
}

Semantic roles & 50–950 ramp

primary
#2E58A0
secondary
#BEA06C
accent
#A849DF
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E58A0

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

Preview Lab → · Contrast checker → · Palette generator →

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