#2E4397#2E4397

#2E4397 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.140 H 269.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2E4397
RGBrgb(46, 67, 151)
HSLhsl(228, 53%, 39%)
HSVhsv(228, 70%, 59%)
CMYKcmyk(69.5%, 55.6%, 0%, 40.8%)
CIE-LABlab(31.41, 21.12, -48.58)
CIE-LCHlch(31.41, 52.98, 293.50°)
OKLaboklab(41.67% -0.0026 -0.1398)
OKLCHoklch(41.67% 0.14 269)
XYZxyz(8.7179, 6.8287, 30.1308)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4397 #97822E
analogous
#2E7797 #2E4397 #4D2E97
triadic
#2E4397 #972E43 #43972E
tetradic
#2E4397 #972E77 #97822E #2E974D
square
#2E4397 #972E77 #97822E #2E974D
split-complementary
#2E4397 #974D2E #77972E
monochromatic
#111939 #202E68 #2E4397 #3E59C4 #6D81D2

Accessibility & contrast

On white

8.88
#2E4397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2E4397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4397
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4397#FFFFFF#000000##FFFFFF
##2E43971.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e4397;
/* rgb */ color: rgb(46, 67, 151);
/* oklch */ color: oklch(41.7% 0.140 269.0);
Tailwind
colors: {
  custom: {
    50: '#7476b6',
    500: '#2e4397',
    950: '#000000',
  },
}
SCSS
$custom: #2e4397;
$custom-light: #7476b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4397",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 228,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41667,
    "c": 0.13977,
    "h": 269
  },
  "luminance": 0.0683
}

Semantic roles & 50–950 ramp

primary
#2E4397
secondary
#BAA967
accent
#C04BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4397

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

Preview Lab → · Contrast checker → · Palette generator →

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