#2E5DAE#2E5DAE

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

Color values

HEX#2E5DAE
RGBrgb(46, 93, 174)
HSLhsl(218, 58%, 43%)
HSVhsv(218, 74%, 68%)
CMYKcmyk(73.6%, 46.6%, 0%, 31.8%)
CIE-LABlab(40.35, 12.58, -47.94)
CIE-LCHlch(40.35, 49.57, 284.70°)
OKLaboklab(48.98% -0.023 -0.1374)
OKLCHoklch(48.98% 0.139 260.5)
XYZxyz(12.6783, 11.4642, 41.5808)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5DAE #AE7F2E
analogous
#2E9DAE #2E5DAE #3F2EAE
triadic
#2E5DAE #AE2E5D #5DAE2E
tetradic
#2E5DAE #AE2E9D #AE7F2E #2EAE3F
square
#2E5DAE #AE2E9D #AE7F2E #2EAE3F
split-complementary
#2E5DAE #AE3F2E #9DAE2E
monochromatic
#14294D #21437E #2E5DAE #4A7BCF #7A9EDC

Accessibility & contrast

On white

6.38
#2E5DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#2E5DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5DAE
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5DAE#FFFFFF#000000##FFFFFF
##2E5DAE1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3365B1
Deuteranopia (green-blind)
#155AAC
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2e5dae;
/* rgb */ color: rgb(46, 93, 174);
/* oklch */ color: oklch(49.0% 0.139 260.5);
Tailwind
colors: {
  custom: {
    50: '#788ac7',
    500: '#2e5dae',
    950: '#000000',
  },
}
SCSS
$custom: #2e5dae;
$custom-light: #788ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5dae",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 174
  },
  "hsl": {
    "h": 217.969,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4898,
    "c": 0.13935,
    "h": 260.5
  },
  "luminance": 0.11466
}

Semantic roles & 50–950 ramp

primary
#2E5DAE
secondary
#C4A774
accent
#A846E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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