#2E5AA6#2E5AA6

#2E5AA6 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.8% C 0.132 H 260.5°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#2E5AA6
RGBrgb(46, 90, 166)
HSLhsl(218, 57%, 42%)
HSVhsv(218, 72%, 65%)
CMYKcmyk(72.3%, 45.8%, 0%, 34.9%)
CIE-LABlab(38.98, 11.50, -45.42)
CIE-LCHlch(38.98, 46.85, 284.21°)
OKLaboklab(47.76% -0.0217 -0.13)
OKLCHoklch(47.76% 0.132 260.5)
XYZxyz(11.6633, 10.6451, 37.5090)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5AA6 #A67A2E
analogous
#2E96A6 #2E5AA6 #3E2EA6
triadic
#2E5AA6 #A62E5A #5AA62E
tetradic
#2E5AA6 #A62E96 #A67A2E #2EA63E
square
#2E5AA6 #A62E96 #A67A2E #2EA63E
split-complementary
#2E5AA6 #A63E2E #96A62E
monochromatic
#132646 #214076 #2E5AA6 #4677CC #769AD9

Accessibility & contrast

On white

6.71
#2E5AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2E5AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5AA6
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5AA6#FFFFFF#000000##FFFFFF
##2E5AA61.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3362A9
Deuteranopia (green-blind)
#1B57A4
Tritanopia (blue-blind)
#006C78
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e5aa6;
/* rgb */ color: rgb(46, 90, 166);
/* oklch */ color: oklch(47.8% 0.132 260.5);
Tailwind
colors: {
  custom: {
    50: '#7688c1',
    500: '#2e5aa6',
    950: '#000000',
  },
}
SCSS
$custom: #2e5aa6;
$custom-light: #7688c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5aa6",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 166
  },
  "hsl": {
    "h": 218,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47758,
    "c": 0.13185,
    "h": 260.5
  },
  "luminance": 0.10646
}

Semantic roles & 50–950 ramp

primary
#2E5AA6
secondary
#C1A36F
accent
#A848E0
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2E5AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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