#2E5AA4#2E5AA4

#2E5AA4 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.6% C 0.129 H 260.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#2E5AA4
RGBrgb(46, 90, 164)
HSLhsl(218, 56%, 41%)
HSVhsv(218, 72%, 64%)
CMYKcmyk(72%, 45.1%, 0%, 35.7%)
CIE-LABlab(38.85, 10.74, -44.43)
CIE-LCHlch(38.85, 45.71, 283.59°)
OKLaboklab(47.62% -0.0221 -0.1272)
OKLCHoklch(47.62% 0.129 260.2)
XYZxyz(11.4813, 10.5723, 36.5503)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5AA4 #A4782E
analogous
#2E95A4 #2E5AA4 #3D2EA4
triadic
#2E5AA4 #A42E5A #5AA42E
tetradic
#2E5AA4 #A42E95 #A4782E #2EA43D
square
#2E5AA4 #A42E95 #A4782E #2EA43D
split-complementary
#2E5AA4 #A43D2E #95A42E
monochromatic
#132644 #214074 #2E5AA4 #4577CB #749AD8

Accessibility & contrast

On white

6.74
#2E5AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2E5AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5AA4
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5AA4#FFFFFF#000000##FFFFFF
##2E5AA41.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3561A7
Deuteranopia (green-blind)
#1F56A2
Tritanopia (blue-blind)
#006B77
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e5aa4;
/* rgb */ color: rgb(46, 90, 164);
/* oklch */ color: oklch(47.6% 0.129 260.2);
Tailwind
colors: {
  custom: {
    50: '#7688bf',
    500: '#2e5aa4',
    950: '#000000',
  },
}
SCSS
$custom: #2e5aa4;
$custom-light: #7688bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5aa4",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 164
  },
  "hsl": {
    "h": 217.627,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47621,
    "c": 0.12905,
    "h": 260.2
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

primary
#2E5AA4
secondary
#C0A16E
accent
#A748DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E5AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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