#2E5EAC#2E5EAC

#2E5EAC is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.1% C 0.135 H 259.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#2E5EAC
RGBrgb(46, 94, 172)
HSLhsl(217, 58%, 43%)
HSVhsv(217, 73%, 67%)
CMYKcmyk(73.3%, 45.3%, 0%, 32.5%)
CIE-LABlab(40.51, 11.17, -46.50)
CIE-LCHlch(40.51, 47.83, 283.51°)
OKLaboklab(49.06% -0.0243 -0.1332)
OKLCHoklch(49.06% 0.135 259.7)
XYZxyz(12.5731, 11.5634, 40.5911)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EAC #AC7C2E
analogous
#2E9DAC #2E5EAC #3D2EAC
triadic
#2E5EAC #AC2E5E #5EAC2E
tetradic
#2E5EAC #AC2E9D #AC7C2E #2EAC3D
square
#2E5EAC #AC2E9D #AC7C2E #2EAC3D
split-complementary
#2E5EAC #AC3D2E #9DAC2E
monochromatic
#14294B #21447C #2E5EAC #497CCE #799FDB

Accessibility & contrast

On white

6.34
#2E5EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E5EAC
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EAC#FFFFFF#000000##FFFFFF
##2E5EAC1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3666AF
Deuteranopia (green-blind)
#1D5AAA
Tritanopia (blue-blind)
#00707C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2e5eac;
/* rgb */ color: rgb(46, 94, 172);
/* oklch */ color: oklch(49.1% 0.135 259.7);
Tailwind
colors: {
  custom: {
    50: '#778bc5',
    500: '#2e5eac',
    950: '#000000',
  },
}
SCSS
$custom: #2e5eac;
$custom-light: #778bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5eac",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 172
  },
  "hsl": {
    "h": 217.143,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49064,
    "c": 0.13537,
    "h": 259.7
  },
  "luminance": 0.11565
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E5EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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