#2E5BA4#2E5BA4

#2E5BA4 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.8% C 0.128 H 259.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2E5BA4
RGBrgb(46, 91, 164)
HSLhsl(217, 56%, 41%)
HSVhsv(217, 72%, 64%)
CMYKcmyk(72%, 44.5%, 0%, 35.7%)
CIE-LABlab(39.14, 10.09, -43.96)
CIE-LCHlch(39.14, 45.10, 282.93°)
OKLaboklab(47.85% -0.023 -0.1257)
OKLCHoklch(47.85% 0.128 259.6)
XYZxyz(11.5662, 10.7421, 36.5786)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5BA4 #A4772E
analogous
#2E96A4 #2E5BA4 #3C2EA4
triadic
#2E5BA4 #A42E5B #5BA42E
tetradic
#2E5BA4 #A42E96 #A4772E #2EA43C
square
#2E5BA4 #A42E96 #A4772E #2EA43C
split-complementary
#2E5BA4 #A43C2E #96A42E
monochromatic
#132644 #214074 #2E5BA4 #4578CB #749AD8

Accessibility & contrast

On white

6.67
#2E5BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2E5BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5BA4
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5BA4#FFFFFF#000000##FFFFFF
##2E5BA41.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3762A7
Deuteranopia (green-blind)
#2157A3
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e5ba4;
/* rgb */ color: rgb(46, 91, 164);
/* oklch */ color: oklch(47.8% 0.128 259.6);
Tailwind
colors: {
  custom: {
    50: '#7688bf',
    500: '#2e5ba4',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ba4;
$custom-light: #7688bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ba4",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 164
  },
  "hsl": {
    "h": 217.119,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47846,
    "c": 0.12784,
    "h": 259.6
  },
  "luminance": 0.10743
}

Semantic roles & 50–950 ramp

primary
#2E5BA4
secondary
#C0A16E
accent
#A648DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E5BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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