#2E5EA2#2E5EA2

#2E5EA2 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.4% C 0.122 H 257.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#2E5EA2
RGBrgb(46, 94, 162)
HSLhsl(215, 56%, 41%)
HSVhsv(215, 72%, 64%)
CMYKcmyk(71.6%, 42%, 0%, 36.5%)
CIE-LABlab(39.90, 7.39, -41.55)
CIE-LCHlch(39.90, 42.20, 280.09°)
OKLaboklab(48.4% -0.0263 -0.1186)
OKLCHoklch(48.4% 0.122 257.5)
XYZxyz(11.6486, 11.1936, 35.7221)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EA2 #A2722E
analogous
#2E98A2 #2E5EA2 #382EA2
triadic
#2E5EA2 #A22E5E #5EA22E
tetradic
#2E5EA2 #A22E98 #A2722E #2EA238
square
#2E5EA2 #A22E98 #A2722E #2EA238
split-complementary
#2E5EA2 #A2382E #98A22E
monochromatic
#132743 #204272 #2E5EA2 #437BCA #739DD7

Accessibility & contrast

On white

6.48
#2E5EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#2E5EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5EA2
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EA2#FFFFFF#000000##FFFFFF
##2E5EA21.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A5
Deuteranopia (green-blind)
#2B59A1
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e5ea2;
/* rgb */ color: rgb(46, 94, 162);
/* oklch */ color: oklch(48.4% 0.122 257.5);
Tailwind
colors: {
  custom: {
    50: '#758bbe',
    500: '#2e5ea2',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ea2;
$custom-light: #758bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ea2",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 215.172,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48397,
    "c": 0.12151,
    "h": 257.5
  },
  "luminance": 0.11195
}

Semantic roles & 50–950 ramp

primary
#2E5EA2
secondary
#BF9D6D
accent
#A149DF
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E5EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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