#2E5AA7#2E5AA7

#2E5AA7 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.8% C 0.133 H 260.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2E5AA7
RGBrgb(46, 90, 167)
HSLhsl(218, 57%, 42%)
HSVhsv(218, 72%, 65%)
CMYKcmyk(72.5%, 46.1%, 0%, 34.5%)
CIE-LABlab(39.04, 11.88, -45.91)
CIE-LCHlch(39.04, 47.42, 284.51°)
OKLaboklab(47.83% -0.0215 -0.1315)
OKLCHoklch(47.83% 0.133 260.7)
XYZxyz(11.7554, 10.6819, 37.9940)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5AA7 #A77B2E
analogous
#2E97A7 #2E5AA7 #3F2EA7
triadic
#2E5AA7 #A72E5A #5AA72E
tetradic
#2E5AA7 #A72E97 #A77B2E #2EA73F
square
#2E5AA7 #A72E97 #A77B2E #2EA73F
split-complementary
#2E5AA7 #A73F2E #97A72E
monochromatic
#142647 #214077 #2E5AA7 #4677CC #769AD9

Accessibility & contrast

On white

6.70
#2E5AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2E5AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5AA7
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5AA7#FFFFFF#000000##FFFFFF
##2E5AA71.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3362AA
Deuteranopia (green-blind)
#1957A5
Tritanopia (blue-blind)
#006C78
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e5aa7;
/* rgb */ color: rgb(46, 90, 167);
/* oklch */ color: oklch(47.8% 0.133 260.7);
Tailwind
colors: {
  custom: {
    50: '#7688c2',
    500: '#2e5aa7',
    950: '#000000',
  },
}
SCSS
$custom: #2e5aa7;
$custom-light: #7688c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5aa7",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 167
  },
  "hsl": {
    "h": 218.182,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47827,
    "c": 0.13325,
    "h": 260.7
  },
  "luminance": 0.10683
}

Semantic roles & 50–950 ramp

primary
#2E5AA7
secondary
#C1A470
accent
#A948E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2E5AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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