#2E4597#2E4597

#2E4597 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.137 H 268.2°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#2E4597
RGBrgb(46, 69, 151)
HSLhsl(227, 53%, 39%)
HSVhsv(227, 70%, 59%)
CMYKcmyk(69.5%, 54.3%, 0%, 40.8%)
CIE-LABlab(31.97, 19.77, -47.69)
CIE-LCHlch(31.97, 51.62, 292.52°)
OKLaboklab(42.08% -0.0044 -0.1371)
OKLCHoklch(42.08% 0.137 268.2)
XYZxyz(8.8388, 7.0706, 30.1711)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4597 #97802E
analogous
#2E7997 #2E4597 #4B2E97
triadic
#2E4597 #972E45 #45972E
tetradic
#2E4597 #972E79 #97802E #2E974B
square
#2E4597 #972E79 #97802E #2E974B
split-complementary
#2E4597 #974B2E #79972E
monochromatic
#111A39 #203068 #2E4597 #3E5BC4 #6D83D2

Accessibility & contrast

On white

8.70
#2E4597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2E4597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4597
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4597#FFFFFF#000000##FFFFFF
##2E45971.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B509A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e4597;
/* rgb */ color: rgb(46, 69, 151);
/* oklch */ color: oklch(42.1% 0.137 268.2);
Tailwind
colors: {
  custom: {
    50: '#7478b6',
    500: '#2e4597',
    950: '#000000',
  },
}
SCSS
$custom: #2e4597;
$custom-light: #7478b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4597",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 151
  },
  "hsl": {
    "h": 226.857,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42084,
    "c": 0.13716,
    "h": 268.2
  },
  "luminance": 0.07071
}

Semantic roles & 50–950 ramp

primary
#2E4597
secondary
#BAA867
accent
#BD4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4597

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

Preview Lab → · Contrast checker → · Palette generator →

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