#2E4897#2E4897

#2E4897 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.7% C 0.133 H 266.9°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#2E4897
RGBrgb(46, 72, 151)
HSLhsl(225, 53%, 39%)
HSVhsv(225, 70%, 59%)
CMYKcmyk(69.5%, 52.3%, 0%, 40.8%)
CIE-LABlab(32.81, 17.75, -46.33)
CIE-LCHlch(32.81, 49.61, 290.97°)
OKLaboklab(42.72% -0.0071 -0.133)
OKLCHoklch(42.72% 0.133 266.9)
XYZxyz(9.0281, 7.4491, 30.2342)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4897 #977D2E
analogous
#2E7C97 #2E4897 #482E97
triadic
#2E4897 #972E48 #48972E
tetradic
#2E4897 #972E7C #977D2E #2E9748
square
#2E4897 #972E7C #977D2E #2E9748
split-complementary
#2E4897 #97482E #7C972E
monochromatic
#111B39 #203268 #2E4897 #3E5FC4 #6D86D2

Accessibility & contrast

On white

8.43
#2E4897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2E4897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4897
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4897#FFFFFF#000000##FFFFFF
##2E48971.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18529A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e4897;
/* rgb */ color: rgb(46, 72, 151);
/* oklch */ color: oklch(42.7% 0.133 266.9);
Tailwind
colors: {
  custom: {
    50: '#747ab6',
    500: '#2e4897',
    950: '#000000',
  },
}
SCSS
$custom: #2e4897;
$custom-light: #747ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4897",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 225.143,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4272,
    "c": 0.13323,
    "h": 266.9
  },
  "luminance": 0.0745
}

Semantic roles & 50–950 ramp

primary
#2E4897
secondary
#BAA567
accent
#B94BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E4897

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

Preview Lab → · Contrast checker → · Palette generator →

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