#2E4297#2E4297

#2E4297 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.141 H 269.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#2E4297
RGBrgb(46, 66, 151)
HSLhsl(229, 53%, 39%)
HSVhsv(229, 70%, 59%)
CMYKcmyk(69.5%, 56.3%, 0%, 40.8%)
CIE-LABlab(31.14, 21.79, -49.03)
CIE-LCHlch(31.14, 53.65, 293.97°)
OKLaboklab(41.46% -0.0017 -0.1411)
OKLCHoklch(41.46% 0.141 269.3)
XYZxyz(8.6589, 6.7108, 30.1111)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4297 #97832E
analogous
#2E7697 #2E4297 #4E2E97
triadic
#2E4297 #972E42 #42972E
tetradic
#2E4297 #972E76 #97832E #2E974E
square
#2E4297 #972E76 #97832E #2E974E
split-complementary
#2E4297 #974E2E #76972E
monochromatic
#111939 #202D68 #2E4297 #3E58C4 #6D80D2

Accessibility & contrast

On white

8.97
#2E4297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2E4297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4297
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4297#FFFFFF#000000##FFFFFF
##2E42971.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e4297;
/* rgb */ color: rgb(46, 66, 151);
/* oklch */ color: oklch(41.5% 0.141 269.3);
Tailwind
colors: {
  custom: {
    50: '#7476b6',
    500: '#2e4297',
    950: '#000000',
  },
}
SCSS
$custom: #2e4297;
$custom-light: #7476b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4297",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 151
  },
  "hsl": {
    "h": 228.571,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4146,
    "c": 0.14108,
    "h": 269.3
  },
  "luminance": 0.06712
}

Semantic roles & 50–950 ramp

primary
#2E4297
secondary
#BAAA67
accent
#C14BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4297

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

Preview Lab → · Contrast checker → · Palette generator →

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