#2E4595#2E4595

#2E4595 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.134 H 268.1°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#2E4595
RGBrgb(46, 69, 149)
HSLhsl(227, 53%, 38%)
HSVhsv(227, 69%, 58%)
CMYKcmyk(69.1%, 53.7%, 0%, 41.6%)
CIE-LABlab(31.82, 19.02, -46.71)
CIE-LCHlch(31.82, 50.43, 292.16°)
OKLaboklab(41.93% -0.0045 -0.1342)
OKLCHoklch(41.93% 0.134 268.1)
XYZxyz(8.6778, 7.0062, 29.3229)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4595 #957E2E
analogous
#2E7895 #2E4595 #4A2E95
triadic
#2E4595 #952E45 #45952E
tetradic
#2E4595 #952E78 #957E2E #2E954A
square
#2E4595 #952E78 #957E2E #2E954A
split-complementary
#2E4595 #954A2E #78952E
monochromatic
#111A37 #202F66 #2E4595 #3D5BC3 #6C83D2

Accessibility & contrast

On white

8.74
#2E4595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2E4595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4595
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4595#FFFFFF#000000##FFFFFF
##2E45951.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105098
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e4595;
/* rgb */ color: rgb(46, 69, 149);
/* oklch */ color: oklch(41.9% 0.134 268.1);
Tailwind
colors: {
  custom: {
    50: '#7378b5',
    500: '#2e4595',
    950: '#000000',
  },
}
SCSS
$custom: #2e4595;
$custom-light: #7378b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4595",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 149
  },
  "hsl": {
    "h": 226.602,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41927,
    "c": 0.13428,
    "h": 268.1
  },
  "luminance": 0.07007
}

Semantic roles & 50–950 ramp

primary
#2E4595
secondary
#B9A666
accent
#BC4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4595

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

Preview Lab → · Contrast checker → · Palette generator →

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