#2E61A9#2E61A9

#2E61A9 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.5% C 0.128 H 257.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#2E61A9
RGBrgb(46, 97, 169)
HSLhsl(215, 57%, 42%)
HSVhsv(215, 73%, 66%)
CMYKcmyk(72.8%, 42.6%, 0%, 33.7%)
CIE-LABlab(41.21, 8.10, -43.63)
CIE-LCHlch(41.21, 44.37, 280.52°)
OKLaboklab(49.54% -0.0276 -0.1247)
OKLCHoklch(49.54% 0.128 257.5)
XYZxyz(12.5602, 11.9934, 39.1814)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E61A9 #A9762E
analogous
#2E9FA9 #2E61A9 #392EA9
triadic
#2E61A9 #A92E61 #61A92E
tetradic
#2E61A9 #A92E9F #A9762E #2EA939
square
#2E61A9 #A92E9F #A9762E #2EA939
split-complementary
#2E61A9 #A9392E #9FA92E
monochromatic
#142A49 #214579 #2E61A9 #477FCD #77A0DA

Accessibility & contrast

On white

6.18
#2E61A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2E61A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E61A9
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E61A9#FFFFFF#000000##FFFFFF
##2E61A91.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E67AC
Deuteranopia (green-blind)
#295CA8
Tritanopia (blue-blind)
#00727D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2e61a9;
/* rgb */ color: rgb(46, 97, 169);
/* oklch */ color: oklch(49.5% 0.128 257.5);
Tailwind
colors: {
  custom: {
    50: '#778dc3',
    500: '#2e61a9',
    950: '#000000',
  },
}
SCSS
$custom: #2e61a9;
$custom-light: #778dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e61a9",
  "rgb": {
    "r": 46,
    "g": 97,
    "b": 169
  },
  "hsl": {
    "h": 215.122,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4954,
    "c": 0.1277,
    "h": 257.5
  },
  "luminance": 0.11995
}

Semantic roles & 50–950 ramp

primary
#2E61A9
secondary
#C2A071
accent
#A147E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2E61A9

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

Preview Lab → · Contrast checker → · Palette generator →

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