#2E5CA4#2E5CA4

#2E5CA4 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.1% C 0.127 H 259.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2E5CA4
RGBrgb(46, 92, 164)
HSLhsl(217, 56%, 41%)
HSVhsv(217, 72%, 64%)
CMYKcmyk(72%, 43.9%, 0%, 35.7%)
CIE-LABlab(39.44, 9.44, -43.49)
CIE-LCHlch(39.44, 44.50, 282.25°)
OKLaboklab(48.07% -0.0239 -0.1244)
OKLCHoklch(48.07% 0.127 259.1)
XYZxyz(11.6523, 10.9142, 36.6073)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5CA4 #A4762E
analogous
#2E97A4 #2E5CA4 #3B2EA4
triadic
#2E5CA4 #A42E5C #5CA42E
tetradic
#2E5CA4 #A42E97 #A4762E #2EA43B
square
#2E5CA4 #A42E97 #A4762E #2EA43B
split-complementary
#2E5CA4 #A43B2E #97A42E
monochromatic
#132644 #214174 #2E5CA4 #4579CB #749BD8

Accessibility & contrast

On white

6.60
#2E5CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E5CA4
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5CA4#FFFFFF#000000##FFFFFF
##2E5CA41.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3963A7
Deuteranopia (green-blind)
#2458A3
Tritanopia (blue-blind)
#006D78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e5ca4;
/* rgb */ color: rgb(46, 92, 164);
/* oklch */ color: oklch(48.1% 0.127 259.1);
Tailwind
colors: {
  custom: {
    50: '#7689bf',
    500: '#2e5ca4',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ca4;
$custom-light: #7689bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ca4",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 164
  },
  "hsl": {
    "h": 216.61,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48072,
    "c": 0.12665,
    "h": 259.1
  },
  "luminance": 0.10915
}

Semantic roles & 50–950 ramp

primary
#2E5CA4
secondary
#C0A06E
accent
#A548DF
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E5CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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