#2E5BA0#2E5BA0

#2E5BA0 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.6% C 0.122 H 258.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#2E5BA0
RGBrgb(46, 91, 160)
HSLhsl(216, 55%, 40%)
HSVhsv(216, 71%, 63%)
CMYKcmyk(71.2%, 43.1%, 0%, 37.3%)
CIE-LABlab(38.90, 8.58, -41.97)
CIE-LCHlch(38.90, 42.83, 281.55°)
OKLaboklab(47.58% -0.0238 -0.1199)
OKLCHoklch(47.58% 0.122 258.8)
XYZxyz(11.2107, 10.5999, 34.7061)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5BA0 #A0732E
analogous
#2E94A0 #2E5BA0 #3A2EA0
triadic
#2E5BA0 #A02E5B #5BA02E
tetradic
#2E5BA0 #A02E94 #A0732E #2EA03A
square
#2E5BA0 #A02E94 #A0732E #2EA03A
split-complementary
#2E5BA0 #A03A2E #94A02E
monochromatic
#132541 #204070 #2E5BA0 #4277C9 #729AD6

Accessibility & contrast

On white

6.73
#2E5BA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2E5BA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5BA0
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5BA0#FFFFFF#000000##FFFFFF
##2E5BA01.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A61A3
Deuteranopia (green-blind)
#27579F
Tritanopia (blue-blind)
#006B75
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e5ba0;
/* rgb */ color: rgb(46, 91, 160);
/* oklch */ color: oklch(47.6% 0.122 258.8);
Tailwind
colors: {
  custom: {
    50: '#7588bc',
    500: '#2e5ba0',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ba0;
$custom-light: #7588bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ba0",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 160
  },
  "hsl": {
    "h": 216.316,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47578,
    "c": 0.12224,
    "h": 258.8
  },
  "luminance": 0.10601
}

Semantic roles & 50–950 ramp

primary
#2E5BA0
secondary
#BE9E6C
accent
#A449DF
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E5BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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