#2E5497#2E5497

#2E5497 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.4% C 0.118 H 260.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2E5497
RGBrgb(46, 84, 151)
HSLhsl(218, 53%, 39%)
HSVhsv(218, 70%, 59%)
CMYKcmyk(69.5%, 44.4%, 0%, 40.8%)
CIE-LABlab(36.28, 9.75, -40.75)
CIE-LCHlch(36.28, 41.90, 283.46°)
OKLaboklab(45.38% -0.0187 -0.1164)
OKLCHoklch(45.38% 0.118 260.9)
XYZxyz(9.8810, 9.1549, 30.5185)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5497 #97712E
analogous
#2E8897 #2E5497 #3D2E97
triadic
#2E5497 #972E54 #54972E
tetradic
#2E5497 #972E88 #97712E #2E973D
square
#2E5497 #972E88 #97712E #2E973D
split-complementary
#2E5497 #973D2E #88972E
monochromatic
#112039 #203A68 #2E5497 #3E6FC4 #6D92D2

Accessibility & contrast

On white

7.42
#2E5497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2E5497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5497
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5497#FFFFFF#000000##FFFFFF
##2E54971.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345B9A
Deuteranopia (green-blind)
#225196
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e5497;
/* rgb */ color: rgb(46, 84, 151);
/* oklch */ color: oklch(45.4% 0.118 260.9);
Tailwind
colors: {
  custom: {
    50: '#7383b6',
    500: '#2e5497',
    950: '#000000',
  },
}
SCSS
$custom: #2e5497;
$custom-light: #7383b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5497",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 151
  },
  "hsl": {
    "h": 218.286,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45377,
    "c": 0.11793,
    "h": 260.9
  },
  "luminance": 0.09156
}

Semantic roles & 50–950 ramp

primary
#2E5497
secondary
#BA9C67
accent
#A84BDD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E5497

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

Preview Lab → · Contrast checker → · Palette generator →

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