#2E5194#2E5194

#2E5194 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.5% C 0.117 H 262.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2E5194
RGBrgb(46, 81, 148)
HSLhsl(219, 53%, 38%)
HSVhsv(219, 69%, 58%)
CMYKcmyk(68.9%, 45.3%, 0%, 42%)
CIE-LABlab(35.21, 10.60, -40.65)
CIE-LCHlch(35.21, 42.01, 284.62°)
OKLaboklab(44.49% -0.0163 -0.1162)
OKLCHoklch(44.49% 0.117 262)
XYZxyz(9.4125, 8.6029, 29.1757)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5194 #94712E
analogous
#2E8494 #2E5194 #3E2E94
triadic
#2E5194 #942E51 #51942E
tetradic
#2E5194 #942E84 #94712E #2E943E
square
#2E5194 #942E84 #94712E #2E943E
split-complementary
#2E5194 #943E2E #84942E
monochromatic
#111E37 #1F3765 #2E5194 #3D6BC3 #6B8ED1

Accessibility & contrast

On white

7.72
#2E5194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2E5194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5194
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5194#FFFFFF#000000##FFFFFF
##2E51941.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305897
Deuteranopia (green-blind)
#1F4E93
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e5194;
/* rgb */ color: rgb(46, 81, 148);
/* oklch */ color: oklch(44.5% 0.117 262.0);
Tailwind
colors: {
  custom: {
    50: '#7381b4',
    500: '#2e5194',
    950: '#000000',
  },
}
SCSS
$custom: #2e5194;
$custom-light: #7381b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5194",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 148
  },
  "hsl": {
    "h": 219.412,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4449,
    "c": 0.11733,
    "h": 262
  },
  "luminance": 0.08604
}

Semantic roles & 50–950 ramp

primary
#2E5194
secondary
#B89C66
accent
#AB4CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E5194

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

Preview Lab → · Contrast checker → · Palette generator →

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