#2E5EA5#2E5EA5

#2E5EA5 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.6% C 0.126 H 258.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#2E5EA5
RGBrgb(46, 94, 165)
HSLhsl(216, 56%, 41%)
HSVhsv(216, 72%, 65%)
CMYKcmyk(72.1%, 43%, 0%, 35.3%)
CIE-LABlab(40.08, 8.52, -43.05)
CIE-LCHlch(40.08, 43.88, 281.20°)
OKLaboklab(48.59% -0.0256 -0.123)
OKLCHoklch(48.59% 0.126 258.2)
XYZxyz(11.9185, 11.3016, 37.1433)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EA5 #A5752E
analogous
#2E9AA5 #2E5EA5 #3A2EA5
triadic
#2E5EA5 #A52E5E #5EA52E
tetradic
#2E5EA5 #A52E9A #A5752E #2EA53A
square
#2E5EA5 #A52E9A #A5752E #2EA53A
split-complementary
#2E5EA5 #A53A2E #9AA52E
monochromatic
#132745 #214375 #2E5EA5 #457BCB #759DD8

Accessibility & contrast

On white

6.44
#2E5EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2E5EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5EA5
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EA5#FFFFFF#000000##FFFFFF
##2E5EA51.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C64A8
Deuteranopia (green-blind)
#2759A4
Tritanopia (blue-blind)
#006F79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e5ea5;
/* rgb */ color: rgb(46, 94, 165);
/* oklch */ color: oklch(48.6% 0.126 258.2);
Tailwind
colors: {
  custom: {
    50: '#768bc0',
    500: '#2e5ea5',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ea5;
$custom-light: #768bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ea5",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 165
  },
  "hsl": {
    "h": 215.798,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48593,
    "c": 0.12567,
    "h": 258.2
  },
  "luminance": 0.11303
}

Semantic roles & 50–950 ramp

primary
#2E5EA5
secondary
#C09F6F
accent
#A348E0
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2E5EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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