#2E61AB#2E61AB

#2E61AB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.7% C 0.130 H 258.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#2E61AB
RGBrgb(46, 97, 171)
HSLhsl(216, 58%, 43%)
HSVhsv(216, 73%, 67%)
CMYKcmyk(73.1%, 43.3%, 0%, 32.9%)
CIE-LABlab(41.33, 8.86, -44.61)
CIE-LCHlch(41.33, 45.48, 281.23°)
OKLaboklab(49.67% -0.0272 -0.1276)
OKLCHoklch(49.67% 0.13 258)
XYZxyz(12.7494, 12.0691, 40.1778)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E61AB #AB782E
analogous
#2EA0AB #2E61AB #392EAB
triadic
#2E61AB #AB2E61 #61AB2E
tetradic
#2E61AB #AB2EA0 #AB782E #2EAB39
square
#2E61AB #AB2EA0 #AB782E #2EAB39
split-complementary
#2E61AB #AB392E #A0AB2E
monochromatic
#142A4B #21467B #2E61AB #487FCE #79A1DB

Accessibility & contrast

On white

6.15
#2E61AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2E61AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E61AB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E61AB#FFFFFF#000000##FFFFFF
##2E61AB1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D68AE
Deuteranopia (green-blind)
#275CAA
Tritanopia (blue-blind)
#00727D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2e61ab;
/* rgb */ color: rgb(46, 97, 171);
/* oklch */ color: oklch(49.7% 0.130 258.0);
Tailwind
colors: {
  custom: {
    50: '#778dc4',
    500: '#2e61ab',
    950: '#000000',
  },
}
SCSS
$custom: #2e61ab;
$custom-light: #778dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e61ab",
  "rgb": {
    "r": 46,
    "g": 97,
    "b": 171
  },
  "hsl": {
    "h": 215.52,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49672,
    "c": 0.13044,
    "h": 258
  },
  "luminance": 0.12071
}

Semantic roles & 50–950 ramp

primary
#2E61AB
secondary
#C3A272
accent
#A247E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E61AB

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

Preview Lab → · Contrast checker → · Palette generator →

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