#2E5EAA#2E5EAA

#2E5EAA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 48.9% C 0.133 H 259.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#2E5EAA
RGBrgb(46, 94, 170)
HSLhsl(217, 57%, 42%)
HSVhsv(217, 73%, 67%)
CMYKcmyk(72.9%, 44.7%, 0%, 33.3%)
CIE-LABlab(40.39, 10.41, -45.52)
CIE-LCHlch(40.39, 46.70, 282.88°)
OKLaboklab(48.93% -0.0246 -0.1303)
OKLCHoklch(48.93% 0.133 259.3)
XYZxyz(12.3825, 11.4872, 39.5871)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EAA #AA7A2E
analogous
#2E9CAA #2E5EAA #3C2EAA
triadic
#2E5EAA #AA2E5E #5EAA2E
tetradic
#2E5EAA #AA2E9C #AA7A2E #2EAA3C
square
#2E5EAA #AA2E9C #AA7A2E #2EAA3C
split-complementary
#2E5EAA #AA3C2E #9CAA2E
monochromatic
#14294A #21437A #2E5EAA #487CCD #789EDA

Accessibility & contrast

On white

6.37
#2E5EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2E5EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5EAA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EAA#FFFFFF#000000##FFFFFF
##2E5EAA1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3865AD
Deuteranopia (green-blind)
#205AA8
Tritanopia (blue-blind)
#00707B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2e5eaa;
/* rgb */ color: rgb(46, 94, 170);
/* oklch */ color: oklch(48.9% 0.133 259.3);
Tailwind
colors: {
  custom: {
    50: '#778bc4',
    500: '#2e5eaa',
    950: '#000000',
  },
}
SCSS
$custom: #2e5eaa;
$custom-light: #778bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5eaa",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 170
  },
  "hsl": {
    "h": 216.774,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48928,
    "c": 0.1326,
    "h": 259.3
  },
  "luminance": 0.11489
}

Semantic roles & 50–950 ramp

primary
#2E5EAA
secondary
#C3A371
accent
#A547E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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