#2E5AA0#2E5AA0

#2E5AA0 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.3% C 0.123 H 259.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#2E5AA0
RGBrgb(46, 90, 160)
HSLhsl(217, 55%, 40%)
HSVhsv(217, 71%, 63%)
CMYKcmyk(71.2%, 43.7%, 0%, 37.3%)
CIE-LABlab(38.60, 9.23, -42.44)
CIE-LCHlch(38.60, 43.43, 282.27°)
OKLaboklab(47.35% -0.0228 -0.1213)
OKLCHoklch(47.35% 0.123 259.3)
XYZxyz(11.1258, 10.4301, 34.6777)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5AA0 #A0742E
analogous
#2E93A0 #2E5AA0 #3B2EA0
triadic
#2E5AA0 #A02E5A #5AA02E
tetradic
#2E5AA0 #A02E93 #A0742E #2EA03B
square
#2E5AA0 #A02E93 #A0742E #2EA03B
split-complementary
#2E5AA0 #A03B2E #93A02E
monochromatic
#132541 #203F70 #2E5AA0 #4276C9 #7299D6

Accessibility & contrast

On white

6.80
#2E5AA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2E5AA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5AA0
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5AA0#FFFFFF#000000##FFFFFF
##2E5AA01.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3861A3
Deuteranopia (green-blind)
#24569F
Tritanopia (blue-blind)
#006A75
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e5aa0;
/* rgb */ color: rgb(46, 90, 160);
/* oklch */ color: oklch(47.3% 0.123 259.3);
Tailwind
colors: {
  custom: {
    50: '#7588bc',
    500: '#2e5aa0',
    950: '#000000',
  },
}
SCSS
$custom: #2e5aa0;
$custom-light: #7588bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5aa0",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 160
  },
  "hsl": {
    "h": 216.842,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4735,
    "c": 0.12343,
    "h": 259.3
  },
  "luminance": 0.10431
}

Semantic roles & 50–950 ramp

primary
#2E5AA0
secondary
#BE9E6C
accent
#A549DF
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E5AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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