#2E5097#2E5097

#2E5097 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.5% C 0.123 H 263.1°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#2E5097
RGBrgb(46, 80, 151)
HSLhsl(221, 53%, 39%)
HSVhsv(221, 70%, 59%)
CMYKcmyk(69.5%, 47%, 0%, 40.8%)
CIE-LABlab(35.11, 12.40, -42.63)
CIE-LCHlch(35.11, 44.40, 286.22°)
OKLaboklab(44.47% -0.0148 -0.122)
OKLCHoklch(44.47% 0.123 263.1)
XYZxyz(9.5793, 8.5516, 30.4179)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5097 #97752E
analogous
#2E8497 #2E5097 #402E97
triadic
#2E5097 #972E50 #50972E
tetradic
#2E5097 #972E84 #97752E #2E9740
square
#2E5097 #972E84 #97752E #2E9740
split-complementary
#2E5097 #97402E #84972E
monochromatic
#111E39 #203768 #2E5097 #3E69C4 #6D8ED2

Accessibility & contrast

On white

7.75
#2E5097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2E5097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5097
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5097#FFFFFF#000000##FFFFFF
##2E50971.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589A
Deuteranopia (green-blind)
#174E96
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e5097;
/* rgb */ color: rgb(46, 80, 151);
/* oklch */ color: oklch(44.5% 0.123 263.1);
Tailwind
colors: {
  custom: {
    50: '#7380b6',
    500: '#2e5097',
    950: '#000000',
  },
}
SCSS
$custom: #2e5097;
$custom-light: #7380b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5097",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 151
  },
  "hsl": {
    "h": 220.571,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44473,
    "c": 0.12292,
    "h": 263.1
  },
  "luminance": 0.08553
}

Semantic roles & 50–950 ramp

primary
#2E5097
secondary
#BA9F67
accent
#AE4BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E5097

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

Preview Lab → · Contrast checker → · Palette generator →

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