#2E5AB7#2E5AB7

#2E5AB7 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.0% C 0.155 H 262.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#2E5AB7
RGBrgb(46, 90, 183)
HSLhsl(221, 60%, 45%)
HSVhsv(221, 75%, 72%)
CMYKcmyk(74.9%, 50.8%, 0%, 28.2%)
CIE-LABlab(40.10, 17.95, -53.64)
CIE-LCHlch(40.10, 56.57, 288.50°)
OKLaboklab(48.98% -0.0191 -0.1543)
OKLCHoklch(48.98% 0.155 262.9)
XYZxyz(13.3271, 11.3106, 46.2714)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5AB7 #B78B2E
analogous
#2E9EB7 #2E5AB7 #472EB7
triadic
#2E5AB7 #B72E5A #5AB72E
tetradic
#2E5AB7 #B72E9E #B78B2E #2EB747
square
#2E5AB7 #B72E9E #B78B2E #2EB747
split-complementary
#2E5AB7 #B7472E #9EB72E
monochromatic
#152A55 #224286 #2E5AB7 #4F7AD3 #809FDF

Accessibility & contrast

On white

6.44
#2E5AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2E5AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5AB7
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5AB7#FFFFFF#000000##FFFFFF
##2E5AB71.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2065BA
Deuteranopia (green-blind)
#0059B5
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e5ab7;
/* rgb */ color: rgb(46, 90, 183);
/* oklch */ color: oklch(49.0% 0.155 262.9);
Tailwind
colors: {
  custom: {
    50: '#7a88cd',
    500: '#2e5ab7',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ab7;
$custom-light: #7a88cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ab7",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 183
  },
  "hsl": {
    "h": 220.73,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48978,
    "c": 0.15544,
    "h": 262.9
  },
  "luminance": 0.11312
}

Semantic roles & 50–950 ramp

primary
#2E5AB7
secondary
#C8AF79
accent
#B045E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #2E5AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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