#2E5CA3#2E5CA3

#2E5CA3 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.0% C 0.125 H 258.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#2E5CA3
RGBrgb(46, 92, 163)
HSLhsl(216, 56%, 41%)
HSVhsv(216, 72%, 64%)
CMYKcmyk(71.8%, 43.6%, 0%, 36.1%)
CIE-LABlab(39.37, 9.06, -42.99)
CIE-LCHlch(39.37, 43.94, 281.90°)
OKLaboklab(48.01% -0.0241 -0.1229)
OKLCHoklch(48.01% 0.125 258.9)
XYZxyz(11.5623, 10.8783, 36.1336)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5CA3 #A3752E
analogous
#2E96A3 #2E5CA3 #3A2EA3
triadic
#2E5CA3 #A32E5C #5CA32E
tetradic
#2E5CA3 #A32E96 #A3752E #2EA33A
square
#2E5CA3 #A32E96 #A3752E #2EA33A
split-complementary
#2E5CA3 #A33A2E #96A32E
monochromatic
#132644 #214173 #2E5CA3 #4479CA #749BD8

Accessibility & contrast

On white

6.61
#2E5CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2E5CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5CA3
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5CA3#FFFFFF#000000##FFFFFF
##2E5CA31.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A63A6
Deuteranopia (green-blind)
#2558A2
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e5ca3;
/* rgb */ color: rgb(46, 92, 163);
/* oklch */ color: oklch(48.0% 0.125 258.9);
Tailwind
colors: {
  custom: {
    50: '#7589bf',
    500: '#2e5ca3',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ca3;
$custom-light: #7589bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ca3",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 163
  },
  "hsl": {
    "h": 216.41,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48005,
    "c": 0.12525,
    "h": 258.9
  },
  "luminance": 0.10879
}

Semantic roles & 50–950 ramp

primary
#2E5CA3
secondary
#BF9F6D
accent
#A449DF
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E5CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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