#2E5492#2E5492

#2E5492 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.0% C 0.111 H 259.7°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#2E5492
RGBrgb(46, 84, 146)
HSLhsl(217, 52%, 38%)
HSVhsv(217, 68%, 57%)
CMYKcmyk(68.5%, 42.5%, 0%, 42.7%)
CIE-LABlab(35.98, 7.87, -38.21)
CIE-LCHlch(35.98, 39.01, 281.64°)
OKLaboklab(45.04% -0.0198 -0.109)
OKLCHoklch(45.04% 0.111 259.7)
XYZxyz(9.4835, 8.9959, 28.4251)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5492 #926C2E
analogous
#2E8692 #2E5492 #3A2E92
triadic
#2E5492 #922E54 #54922E
tetradic
#2E5492 #922E86 #926C2E #2E923A
square
#2E5492 #922E86 #926C2E #2E923A
split-complementary
#2E5492 #923A2E #86922E
monochromatic
#111E35 #1F3963 #2E5492 #3D6FC1 #6A91D0

Accessibility & contrast

On white

7.50
#2E5492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2E5492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5492
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5492#FFFFFF#000000##FFFFFF
##2E54921.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375A94
Deuteranopia (green-blind)
#285091
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e5492;
/* rgb */ color: rgb(46, 84, 146);
/* oklch */ color: oklch(45.0% 0.111 259.7);
Tailwind
colors: {
  custom: {
    50: '#7283b2',
    500: '#2e5492',
    950: '#000000',
  },
}
SCSS
$custom: #2e5492;
$custom-light: #7283b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5492",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 146
  },
  "hsl": {
    "h": 217.2,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45043,
    "c": 0.11076,
    "h": 259.7
  },
  "luminance": 0.08997
}

Semantic roles & 50–950 ramp

primary
#2E5492
secondary
#B79865
accent
#A54CDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E5492

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

Preview Lab → · Contrast checker → · Palette generator →

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