#2E5AB3#2E5AB3

#2E5AB3 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.7% C 0.150 H 262.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#2E5AB3
RGBrgb(46, 90, 179)
HSLhsl(220, 59%, 44%)
HSVhsv(220, 74%, 70%)
CMYKcmyk(74.3%, 49.7%, 0%, 29.8%)
CIE-LABlab(39.83, 16.43, -51.73)
CIE-LCHlch(39.83, 54.28, 287.62°)
OKLaboklab(48.68% -0.0197 -0.1486)
OKLCHoklch(48.68% 0.15 262.5)
XYZxyz(12.9167, 11.1464, 44.1098)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5AB3 #B3872E
analogous
#2E9DB3 #2E5AB3 #442EB3
triadic
#2E5AB3 #B32E5A #5AB32E
tetradic
#2E5AB3 #B32E9D #B3872E #2EB344
square
#2E5AB3 #B32E9D #B3872E #2EB344
split-complementary
#2E5AB3 #B3442E #9DB32E
monochromatic
#152952 #214282 #2E5AB3 #4D79D1 #7E9DDE

Accessibility & contrast

On white

6.50
#2E5AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2E5AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5AB3
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5AB3#FFFFFF#000000##FFFFFF
##2E5AB31.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2664B6
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e5ab3;
/* rgb */ color: rgb(46, 90, 179);
/* oklch */ color: oklch(48.7% 0.150 262.5);
Tailwind
colors: {
  custom: {
    50: '#7988ca',
    500: '#2e5ab3',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ab3;
$custom-light: #7988ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ab3",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 179
  },
  "hsl": {
    "h": 220.15,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48683,
    "c": 0.14993,
    "h": 262.5
  },
  "luminance": 0.11148
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E5AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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