#2E5BAA#2E5BAA

#2E5BAA is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.3% C 0.136 H 260.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#2E5BAA
RGBrgb(46, 91, 170)
HSLhsl(218, 57%, 42%)
HSVhsv(218, 73%, 67%)
CMYKcmyk(72.9%, 46.5%, 0%, 33.3%)
CIE-LABlab(39.52, 12.36, -46.92)
CIE-LCHlch(39.52, 48.52, 284.76°)
OKLaboklab(48.26% -0.0219 -0.1344)
OKLCHoklch(48.26% 0.136 260.7)
XYZxyz(12.1209, 10.9640, 39.4999)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5BAA #AA7D2E
analogous
#2E99AA #2E5BAA #3F2EAA
triadic
#2E5BAA #AA2E5B #5BAA2E
tetradic
#2E5BAA #AA2E99 #AA7D2E #2EAA3F
square
#2E5BAA #AA2E99 #AA7D2E #2EAA3F
split-complementary
#2E5BAA #AA3F2E #99AA2E
monochromatic
#14274A #21417A #2E5BAA #4878CD #789CDA

Accessibility & contrast

On white

6.58
#2E5BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2E5BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5BAA
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5BAA#FFFFFF#000000##FFFFFF
##2E5BAA1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3263AD
Deuteranopia (green-blind)
#1758A8
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e5baa;
/* rgb */ color: rgb(46, 91, 170);
/* oklch */ color: oklch(48.3% 0.136 260.7);
Tailwind
colors: {
  custom: {
    50: '#7788c4',
    500: '#2e5baa',
    950: '#000000',
  },
}
SCSS
$custom: #2e5baa;
$custom-light: #7788c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5baa",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 170
  },
  "hsl": {
    "h": 218.226,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48258,
    "c": 0.13622,
    "h": 260.7
  },
  "luminance": 0.10965
}

Semantic roles & 50–950 ramp

primary
#2E5BAA
secondary
#C3A571
accent
#A947E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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