#2E61AA#2E61AA

#2E61AA is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.6% C 0.129 H 257.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#2E61AA
RGBrgb(46, 97, 170)
HSLhsl(215, 57%, 42%)
HSVhsv(215, 73%, 67%)
CMYKcmyk(72.9%, 42.9%, 0%, 33.3%)
CIE-LABlab(41.27, 8.48, -44.12)
CIE-LCHlch(41.27, 44.93, 280.88°)
OKLaboklab(49.61% -0.0274 -0.1261)
OKLCHoklch(49.61% 0.129 257.7)
XYZxyz(12.6545, 12.0311, 39.6777)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E61AA #AA772E
analogous
#2E9FAA #2E61AA #392EAA
triadic
#2E61AA #AA2E61 #61AA2E
tetradic
#2E61AA #AA2E9F #AA772E #2EAA39
square
#2E61AA #AA2E9F #AA772E #2EAA39
split-complementary
#2E61AA #AA392E #9FAA2E
monochromatic
#142A4A #21467A #2E61AA #487FCD #78A0DA

Accessibility & contrast

On white

6.16
#2E61AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E61AA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E61AA#FFFFFF#000000##FFFFFF
##2E61AA1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E67AD
Deuteranopia (green-blind)
#285CA9
Tritanopia (blue-blind)
#00727D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2e61aa;
/* rgb */ color: rgb(46, 97, 170);
/* oklch */ color: oklch(49.6% 0.129 257.7);
Tailwind
colors: {
  custom: {
    50: '#778dc4',
    500: '#2e61aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e61aa;
$custom-light: #778dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e61aa",
  "rgb": {
    "r": 46,
    "g": 97,
    "b": 170
  },
  "hsl": {
    "h": 215.323,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49606,
    "c": 0.12907,
    "h": 257.7
  },
  "luminance": 0.12033
}

Semantic roles & 50–950 ramp

primary
#2E61AA
secondary
#C3A171
accent
#A247E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2E61AA

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

Preview Lab → · Contrast checker → · Palette generator →

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