#2E5AA3#2E5AA3

#2E5AA3 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.6% C 0.128 H 260.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2E5AA3
RGBrgb(46, 90, 163)
HSLhsl(217, 56%, 41%)
HSVhsv(217, 72%, 64%)
CMYKcmyk(71.8%, 44.8%, 0%, 36.1%)
CIE-LABlab(38.79, 10.36, -43.93)
CIE-LCHlch(38.79, 45.14, 283.27°)
OKLaboklab(47.55% -0.0222 -0.1257)
OKLCHoklch(47.55% 0.128 260)
XYZxyz(11.3914, 10.5363, 36.0766)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5AA3 #A3772E
analogous
#2E94A3 #2E5AA3 #3C2EA3
triadic
#2E5AA3 #A32E5A #5AA32E
tetradic
#2E5AA3 #A32E94 #A3772E #2EA33C
square
#2E5AA3 #A32E94 #A3772E #2EA33C
split-complementary
#2E5AA3 #A33C2E #94A32E
monochromatic
#132544 #214073 #2E5AA3 #4476CA #7499D8

Accessibility & contrast

On white

6.76
#2E5AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2E5AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5AA3
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5AA3#FFFFFF#000000##FFFFFF
##2E5AA31.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A6
Deuteranopia (green-blind)
#2056A2
Tritanopia (blue-blind)
#006B76
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e5aa3;
/* rgb */ color: rgb(46, 90, 163);
/* oklch */ color: oklch(47.6% 0.128 260.0);
Tailwind
colors: {
  custom: {
    50: '#7588bf',
    500: '#2e5aa3',
    950: '#000000',
  },
}
SCSS
$custom: #2e5aa3;
$custom-light: #7588bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5aa3",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 163
  },
  "hsl": {
    "h": 217.436,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47552,
    "c": 0.12764,
    "h": 260
  },
  "luminance": 0.10538
}

Semantic roles & 50–950 ramp

primary
#2E5AA3
secondary
#BFA16D
accent
#A749DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E5AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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