#2E4C91#2E4C91

#2E4C91 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.2% C 0.119 H 264.3°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2E4C91
RGBrgb(46, 76, 145)
HSLhsl(222, 52%, 37%)
HSVhsv(222, 68%, 57%)
CMYKcmyk(68.3%, 47.6%, 0%, 43.1%)
CIE-LABlab(33.55, 12.80, -41.48)
CIE-LCHlch(33.55, 43.41, 287.14°)
OKLaboklab(43.15% -0.0118 -0.1187)
OKLCHoklch(43.15% 0.119 264.3)
XYZxyz(8.8202, 7.7932, 27.8220)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4C91 #91732E
analogous
#2E7E91 #2E4C91 #422E91
triadic
#2E4C91 #912E4C #4C912E
tetradic
#2E4C91 #912E7E #91732E #2E9142
square
#2E4C91 #912E7E #91732E #2E9142
split-complementary
#2E4C91 #91422E #7E912E
monochromatic
#111B34 #1F3463 #2E4C91 #3D64BF #6A89D0

Accessibility & contrast

On white

8.21
#2E4C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2E4C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4C91
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4C91#FFFFFF#000000##FFFFFF
##2E4C911.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295494
Deuteranopia (green-blind)
#154B90
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e4c91;
/* rgb */ color: rgb(46, 76, 145);
/* oklch */ color: oklch(43.2% 0.119 264.3);
Tailwind
colors: {
  custom: {
    50: '#727db2',
    500: '#2e4c91',
    950: '#000000',
  },
}
SCSS
$custom: #2e4c91;
$custom-light: #727db2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4c91",
  "rgb": {
    "r": 46,
    "g": 76,
    "b": 145
  },
  "hsl": {
    "h": 221.818,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43153,
    "c": 0.11932,
    "h": 264.3
  },
  "luminance": 0.07794
}

Semantic roles & 50–950 ramp

primary
#2E4C91
secondary
#B79E64
accent
#B04DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E4C91

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

Preview Lab → · Contrast checker → · Palette generator →

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