#2E5FAA#2E5FAA

#2E5FAA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.2% C 0.131 H 258.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#2E5FAA
RGBrgb(46, 95, 170)
HSLhsl(216, 57%, 42%)
HSVhsv(216, 73%, 67%)
CMYKcmyk(72.9%, 44.1%, 0%, 33.3%)
CIE-LABlab(40.68, 9.77, -45.06)
CIE-LCHlch(40.68, 46.10, 282.23°)
OKLaboklab(49.15% -0.0256 -0.1289)
OKLCHoklch(49.15% 0.131 258.8)
XYZxyz(12.4720, 11.6662, 39.6169)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5FAA #AA792E
analogous
#2E9DAA #2E5FAA #3B2EAA
triadic
#2E5FAA #AA2E5F #5FAA2E
tetradic
#2E5FAA #AA2E9D #AA792E #2EAA3B
square
#2E5FAA #AA2E9D #AA792E #2EAA3B
split-complementary
#2E5FAA #AA3B2E #9DAA2E
monochromatic
#14294A #21447A #2E5FAA #487DCD #789FDA

Accessibility & contrast

On white

6.30
#2E5FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E5FAA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5FAA#FFFFFF#000000##FFFFFF
##2E5FAA1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A66AD
Deuteranopia (green-blind)
#235BA8
Tritanopia (blue-blind)
#00717C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e5faa;
/* rgb */ color: rgb(46, 95, 170);
/* oklch */ color: oklch(49.2% 0.131 258.8);
Tailwind
colors: {
  custom: {
    50: '#778bc4',
    500: '#2e5faa',
    950: '#000000',
  },
}
SCSS
$custom: #2e5faa;
$custom-light: #778bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5faa",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 170
  },
  "hsl": {
    "h": 216.29,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49153,
    "c": 0.13142,
    "h": 258.8
  },
  "luminance": 0.11668
}

Semantic roles & 50–950 ramp

primary
#2E5FAA
secondary
#C3A271
accent
#A447E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2E5FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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