#2E5EAE#2E5EAE

#2E5EAE is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.2% C 0.138 H 260.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#2E5EAE
RGBrgb(46, 94, 174)
HSLhsl(218, 58%, 43%)
HSVhsv(218, 74%, 68%)
CMYKcmyk(73.6%, 46%, 0%, 31.8%)
CIE-LABlab(40.64, 11.93, -47.48)
CIE-LCHlch(40.64, 48.96, 284.10°)
OKLaboklab(49.2% -0.0239 -0.1361)
OKLCHoklch(49.2% 0.138 260)
XYZxyz(12.7666, 11.6408, 41.6103)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EAE #AE7E2E
analogous
#2E9EAE #2E5EAE #3E2EAE
triadic
#2E5EAE #AE2E5E #5EAE2E
tetradic
#2E5EAE #AE2E9E #AE7E2E #2EAE3E
square
#2E5EAE #AE2E9E #AE7E2E #2EAE3E
split-complementary
#2E5EAE #AE3E2E #9EAE2E
monochromatic
#142A4D #21447E #2E5EAE #4A7CCF #7A9FDC

Accessibility & contrast

On white

6.31
#2E5EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2E5EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5EAE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EAE#FFFFFF#000000##FFFFFF
##2E5EAE1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3566B1
Deuteranopia (green-blind)
#195AAC
Tritanopia (blue-blind)
#00717D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e5eae;
/* rgb */ color: rgb(46, 94, 174);
/* oklch */ color: oklch(49.2% 0.138 260.0);
Tailwind
colors: {
  custom: {
    50: '#788bc7',
    500: '#2e5eae',
    950: '#000000',
  },
}
SCSS
$custom: #2e5eae;
$custom-light: #788bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5eae",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 174
  },
  "hsl": {
    "h": 217.5,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49202,
    "c": 0.13814,
    "h": 260
  },
  "luminance": 0.11642
}

Semantic roles & 50–950 ramp

primary
#2E5EAE
secondary
#C4A674
accent
#A746E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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