#2E4D95#2E4D95

#2E4D95 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.124 H 264.4°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#2E4D95
RGBrgb(46, 77, 149)
HSLhsl(222, 53%, 38%)
HSVhsv(222, 69%, 58%)
CMYKcmyk(69.1%, 48.3%, 0%, 41.6%)
CIE-LABlab(34.10, 13.64, -43.03)
CIE-LCHlch(34.10, 45.14, 287.59°)
OKLaboklab(43.66% -0.0122 -0.1232)
OKLCHoklch(43.66% 0.124 264.4)
XYZxyz(9.2035, 8.0576, 29.4982)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D95 #95762E
analogous
#2E8095 #2E4D95 #422E95
triadic
#2E4D95 #952E4D #4D952E
tetradic
#2E4D95 #952E80 #95762E #2E9542
square
#2E4D95 #952E80 #95762E #2E9542
split-complementary
#2E4D95 #95422E #80952E
monochromatic
#111D37 #203566 #2E4D95 #3D65C3 #6C8AD2

Accessibility & contrast

On white

8.04
#2E4D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2E4D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4D95
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D95#FFFFFF#000000##FFFFFF
##2E4D951.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275598
Deuteranopia (green-blind)
#114C94
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e4d95;
/* rgb */ color: rgb(46, 77, 149);
/* oklch */ color: oklch(43.7% 0.124 264.4);
Tailwind
colors: {
  custom: {
    50: '#737eb5',
    500: '#2e4d95',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d95;
$custom-light: #737eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d95",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 149
  },
  "hsl": {
    "h": 221.942,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43662,
    "c": 0.12385,
    "h": 264.4
  },
  "luminance": 0.08059
}

Semantic roles & 50–950 ramp

primary
#2E4D95
secondary
#B9A066
accent
#B14CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E4D95

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

Preview Lab → · Contrast checker → · Palette generator →

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