#2E5BA2#2E5BA2

#2E5BA2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.7% C 0.125 H 259.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2E5BA2
RGBrgb(46, 91, 162)
HSLhsl(217, 56%, 41%)
HSVhsv(217, 72%, 64%)
CMYKcmyk(71.6%, 43.8%, 0%, 36.5%)
CIE-LABlab(39.02, 9.33, -42.97)
CIE-LCHlch(39.02, 43.97, 282.26°)
OKLaboklab(47.71% -0.0234 -0.1228)
OKLCHoklch(47.71% 0.125 259.2)
XYZxyz(11.3870, 10.6704, 35.6349)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5BA2 #A2752E
analogous
#2E95A2 #2E5BA2 #3B2EA2
triadic
#2E5BA2 #A22E5B #5BA22E
tetradic
#2E5BA2 #A22E95 #A2752E #2EA23B
square
#2E5BA2 #A22E95 #A2752E #2EA23B
split-complementary
#2E5BA2 #A23B2E #95A22E
monochromatic
#132543 #204072 #2E5BA2 #4378CA #739AD7

Accessibility & contrast

On white

6.70
#2E5BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2E5BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5BA2
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5BA2#FFFFFF#000000##FFFFFF
##2E5BA21.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3962A5
Deuteranopia (green-blind)
#2457A1
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e5ba2;
/* rgb */ color: rgb(46, 91, 162);
/* oklch */ color: oklch(47.7% 0.125 259.2);
Tailwind
colors: {
  custom: {
    50: '#7588be',
    500: '#2e5ba2',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ba2;
$custom-light: #7588be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ba2",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 216.724,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47711,
    "c": 0.12504,
    "h": 259.2
  },
  "luminance": 0.10672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E5BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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