#2E61BA#2E61BA

#2E61BA is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.7% C 0.151 H 260.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2E61BA
RGBrgb(46, 97, 186)
HSLhsl(218, 60%, 45%)
HSVhsv(218, 75%, 73%)
CMYKcmyk(75.3%, 47.8%, 0%, 27.1%)
CIE-LABlab(42.27, 14.54, -51.90)
CIE-LCHlch(42.27, 53.90, 285.65°)
OKLaboklab(50.7% -0.0245 -0.149)
OKLCHoklch(50.7% 0.151 260.7)
XYZxyz(14.2611, 12.6738, 48.1395)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E61BA #BA872E
analogous
#2EA7BA #2E61BA #412EBA
triadic
#2E61BA #BA2E61 #61BA2E
tetradic
#2E61BA #BA2EA7 #BA872E #2EBA41
square
#2E61BA #BA2EA7 #BA872E #2EBA41
split-complementary
#2E61BA #BA412E #A7BA2E
monochromatic
#162E58 #224789 #2E61BA #5181D4 #82A4E0

Accessibility & contrast

On white

5.94
#2E61BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2E61BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E61BA
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E61BA#FFFFFF#000000##FFFFFF
##2E61BA1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306BBD
Deuteranopia (green-blind)
#035EB8
Tritanopia (blue-blind)
#007684
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e61ba;
/* rgb */ color: rgb(46, 97, 186);
/* oklch */ color: oklch(50.7% 0.151 260.7);
Tailwind
colors: {
  custom: {
    50: '#7a8dcf',
    500: '#2e61ba',
    950: '#000000',
  },
}
SCSS
$custom: #2e61ba;
$custom-light: #7a8dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e61ba",
  "rgb": {
    "r": 46,
    "g": 97,
    "b": 186
  },
  "hsl": {
    "h": 218.143,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50701,
    "c": 0.151,
    "h": 260.7
  },
  "luminance": 0.12675
}

Semantic roles & 50–950 ramp

primary
#2E61BA
secondary
#C9AD7B
accent
#AA44E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2E61BA

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

Preview Lab → · Contrast checker → · Palette generator →

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