#2E5BA3#2E5BA3

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

Color values

HEX#2E5BA3
RGBrgb(46, 91, 163)
HSLhsl(217, 56%, 41%)
HSVhsv(217, 72%, 64%)
CMYKcmyk(71.8%, 44.2%, 0%, 36.1%)
CIE-LABlab(39.08, 9.71, -43.46)
CIE-LCHlch(39.08, 44.53, 282.60°)
OKLaboklab(47.78% -0.0232 -0.1243)
OKLCHoklch(47.78% 0.126 259.4)
XYZxyz(11.4763, 10.7061, 36.1049)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5BA3 #A3762E
analogous
#2E95A3 #2E5BA3 #3B2EA3
triadic
#2E5BA3 #A32E5B #5BA32E
tetradic
#2E5BA3 #A32E95 #A3762E #2EA33B
square
#2E5BA3 #A32E95 #A3762E #2EA33B
split-complementary
#2E5BA3 #A33B2E #95A32E
monochromatic
#132644 #214073 #2E5BA3 #4478CA #749AD8

Accessibility & contrast

On white

6.68
#2E5BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2E5BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5BA3
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5BA3#FFFFFF#000000##FFFFFF
##2E5BA31.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3862A6
Deuteranopia (green-blind)
#2357A2
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e5ba3;
/* rgb */ color: rgb(46, 91, 163);
/* oklch */ color: oklch(47.8% 0.126 259.4);
Tailwind
colors: {
  custom: {
    50: '#7588bf',
    500: '#2e5ba3',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ba3;
$custom-light: #7588bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ba3",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 163
  },
  "hsl": {
    "h": 216.923,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47778,
    "c": 0.12644,
    "h": 259.4
  },
  "luminance": 0.10707
}

Semantic roles & 50–950 ramp

primary
#2E5BA3
secondary
#BFA06D
accent
#A549DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E5BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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