#2E5494#2E5494

#2E5494 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.2% C 0.114 H 260.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2E5494
RGBrgb(46, 84, 148)
HSLhsl(218, 53%, 38%)
HSVhsv(218, 69%, 58%)
CMYKcmyk(68.9%, 43.2%, 0%, 42%)
CIE-LABlab(36.10, 8.62, -39.23)
CIE-LCHlch(36.10, 40.17, 282.40°)
OKLaboklab(45.18% -0.0194 -0.112)
OKLCHoklch(45.18% 0.114 260.2)
XYZxyz(9.6404, 9.0586, 29.2517)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5494 #946E2E
analogous
#2E8794 #2E5494 #3B2E94
triadic
#2E5494 #942E54 #54942E
tetradic
#2E5494 #942E87 #946E2E #2E943B
square
#2E5494 #942E87 #946E2E #2E943B
split-complementary
#2E5494 #943B2E #87942E
monochromatic
#111F37 #1F3A65 #2E5494 #3D6FC3 #6B91D1

Accessibility & contrast

On white

7.47
#2E5494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2E5494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5494
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5494#FFFFFF#000000##FFFFFF
##2E54941.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365A96
Deuteranopia (green-blind)
#255193
Tritanopia (blue-blind)
#00636C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e5494;
/* rgb */ color: rgb(46, 84, 148);
/* oklch */ color: oklch(45.2% 0.114 260.2);
Tailwind
colors: {
  custom: {
    50: '#7383b4',
    500: '#2e5494',
    950: '#000000',
  },
}
SCSS
$custom: #2e5494;
$custom-light: #7383b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5494",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 148
  },
  "hsl": {
    "h": 217.647,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45176,
    "c": 0.11363,
    "h": 260.2
  },
  "luminance": 0.0906
}

Semantic roles & 50–950 ramp

primary
#2E5494
secondary
#B89966
accent
#A64CDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E5494

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

Preview Lab → · Contrast checker → · Palette generator →

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