#2E5AB2#2E5AB2

#2E5AB2 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.6% C 0.149 H 262.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#2E5AB2
RGBrgb(46, 90, 178)
HSLhsl(220, 59%, 44%)
HSVhsv(220, 74%, 70%)
CMYKcmyk(74.2%, 49.4%, 0%, 30.2%)
CIE-LABlab(39.76, 16.05, -51.26)
CIE-LCHlch(39.76, 53.71, 287.39°)
OKLaboklab(48.61% -0.0198 -0.1472)
OKLCHoklch(48.61% 0.149 262.3)
XYZxyz(12.8159, 11.1061, 43.5791)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5AB2 #B2862E
analogous
#2E9CB2 #2E5AB2 #442EB2
triadic
#2E5AB2 #B22E5A #5AB22E
tetradic
#2E5AB2 #B22E9C #B2862E #2EB244
square
#2E5AB2 #B22E9C #B2862E #2EB244
split-complementary
#2E5AB2 #B2442E #9CB22E
monochromatic
#152951 #214181 #2E5AB2 #4C79D1 #7D9DDD

Accessibility & contrast

On white

6.52
#2E5AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2E5AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5AB2
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5AB2#FFFFFF#000000##FFFFFF
##2E5AB21.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2764B5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e5ab2;
/* rgb */ color: rgb(46, 90, 178);
/* oklch */ color: oklch(48.6% 0.149 262.3);
Tailwind
colors: {
  custom: {
    50: '#7988ca',
    500: '#2e5ab2',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ab2;
$custom-light: #7988ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ab2",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 220,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4861,
    "c": 0.14855,
    "h": 262.3
  },
  "luminance": 0.11108
}

Semantic roles & 50–950 ramp

primary
#2E5AB2
secondary
#C6AB76
accent
#AE46E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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