#2E5EAB#2E5EAB

#2E5EAB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.0% C 0.134 H 259.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#2E5EAB
RGBrgb(46, 94, 171)
HSLhsl(217, 58%, 43%)
HSVhsv(217, 73%, 67%)
CMYKcmyk(73.1%, 45%, 0%, 32.9%)
CIE-LABlab(40.45, 10.79, -46.01)
CIE-LCHlch(40.45, 47.26, 283.20°)
OKLaboklab(49% -0.0245 -0.1317)
OKLCHoklch(49% 0.134 259.5)
XYZxyz(12.4774, 11.5252, 40.0872)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EAB #AB7B2E
analogous
#2E9DAB #2E5EAB #3C2EAB
triadic
#2E5EAB #AB2E5E #5EAB2E
tetradic
#2E5EAB #AB2E9D #AB7B2E #2EAB3C
square
#2E5EAB #AB2E9D #AB7B2E #2EAB3C
split-complementary
#2E5EAB #AB3C2E #9DAB2E
monochromatic
#14294B #21437B #2E5EAB #487CCE #799EDB

Accessibility & contrast

On white

6.35
#2E5EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#2E5EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5EAB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EAB#FFFFFF#000000##FFFFFF
##2E5EAB1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3766AE
Deuteranopia (green-blind)
#1F5AA9
Tritanopia (blue-blind)
#00707C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2e5eab;
/* rgb */ color: rgb(46, 94, 171);
/* oklch */ color: oklch(49.0% 0.134 259.5);
Tailwind
colors: {
  custom: {
    50: '#778bc4',
    500: '#2e5eab',
    950: '#000000',
  },
}
SCSS
$custom: #2e5eab;
$custom-light: #778bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5eab",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 171
  },
  "hsl": {
    "h": 216.96,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48996,
    "c": 0.13399,
    "h": 259.5
  },
  "luminance": 0.11527
}

Semantic roles & 50–950 ramp

primary
#2E5EAB
secondary
#C3A472
accent
#A647E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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