#2E5FAD#2E5FAD

#2E5FAD is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.4% C 0.136 H 259.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#2E5FAD
RGBrgb(46, 95, 173)
HSLhsl(217, 58%, 43%)
HSVhsv(217, 73%, 68%)
CMYKcmyk(73.4%, 45.1%, 0%, 32.2%)
CIE-LABlab(40.87, 10.90, -46.53)
CIE-LCHlch(40.87, 47.79, 283.19°)
OKLaboklab(49.36% -0.025 -0.1332)
OKLCHoklch(49.36% 0.136 259.4)
XYZxyz(12.7590, 11.7810, 41.1286)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5FAD #AD7C2E
analogous
#2E9FAD #2E5FAD #3C2EAD
triadic
#2E5FAD #AD2E5F #5FAD2E
tetradic
#2E5FAD #AD2E9F #AD7C2E #2EAD3C
square
#2E5FAD #AD2E9F #AD7C2E #2EAD3C
split-complementary
#2E5FAD #AD3C2E #9FAD2E
monochromatic
#142A4C #21447D #2E5FAD #497DCF #7AA0DC

Accessibility & contrast

On white

6.26
#2E5FAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2E5FAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5FAD
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5FAD#FFFFFF#000000##FFFFFF
##2E5FAD1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3867B0
Deuteranopia (green-blind)
#1E5BAB
Tritanopia (blue-blind)
#00717D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e5fad;
/* rgb */ color: rgb(46, 95, 173);
/* oklch */ color: oklch(49.4% 0.136 259.4);
Tailwind
colors: {
  custom: {
    50: '#778bc6',
    500: '#2e5fad',
    950: '#000000',
  },
}
SCSS
$custom: #2e5fad;
$custom-light: #778bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5fad",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 173
  },
  "hsl": {
    "h": 216.85,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49356,
    "c": 0.13556,
    "h": 259.4
  },
  "luminance": 0.11782
}

Semantic roles & 50–950 ramp

primary
#2E5FAD
secondary
#C4A573
accent
#A647E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E5FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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