#2E5AAB#2E5AAB

#2E5AAB is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.1% C 0.139 H 261.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#2E5AAB
RGBrgb(46, 90, 171)
HSLhsl(219, 58%, 43%)
HSVhsv(219, 73%, 67%)
CMYKcmyk(73.1%, 47.4%, 0%, 32.9%)
CIE-LABlab(39.30, 13.40, -47.87)
CIE-LCHlch(39.30, 49.71, 285.63°)
OKLaboklab(48.11% -0.0208 -0.1373)
OKLCHoklch(48.11% 0.139 261.4)
XYZxyz(12.1309, 10.8321, 39.9717)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5AAB #AB7F2E
analogous
#2E99AB #2E5AAB #402EAB
triadic
#2E5AAB #AB2E5A #5AAB2E
tetradic
#2E5AAB #AB2E99 #AB7F2E #2EAB40
square
#2E5AAB #AB2E99 #AB7F2E #2EAB40
split-complementary
#2E5AAB #AB402E #99AB2E
monochromatic
#14274B #21417B #2E5AAB #4877CE #799BDB

Accessibility & contrast

On white

6.63
#2E5AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2E5AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5AAB
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5AAB#FFFFFF#000000##FFFFFF
##2E5AAB1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F63AE
Deuteranopia (green-blind)
#1057A9
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e5aab;
/* rgb */ color: rgb(46, 90, 171);
/* oklch */ color: oklch(48.1% 0.139 261.4);
Tailwind
colors: {
  custom: {
    50: '#7788c4',
    500: '#2e5aab',
    950: '#000000',
  },
}
SCSS
$custom: #2e5aab;
$custom-light: #7788c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5aab",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 171
  },
  "hsl": {
    "h": 218.88,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48107,
    "c": 0.13883,
    "h": 261.4
  },
  "luminance": 0.10833
}

Semantic roles & 50–950 ramp

primary
#2E5AAB
secondary
#C3A672
accent
#AB47E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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