#2E4C92#2E4C92

#2E4C92 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.121 H 264.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2E4C92
RGBrgb(46, 76, 146)
HSLhsl(222, 52%, 38%)
HSVhsv(222, 68%, 57%)
CMYKcmyk(68.5%, 47.9%, 0%, 42.7%)
CIE-LABlab(33.61, 13.18, -41.99)
CIE-LCHlch(33.61, 44.01, 287.42°)
OKLaboklab(43.23% -0.0117 -0.1202)
OKLCHoklch(43.23% 0.121 264.5)
XYZxyz(8.8976, 7.8242, 28.2299)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4C92 #92742E
analogous
#2E7E92 #2E4C92 #422E92
triadic
#2E4C92 #922E4C #4C922E
tetradic
#2E4C92 #922E7E #92742E #2E9242
square
#2E4C92 #922E7E #92742E #2E9242
split-complementary
#2E4C92 #92422E #7E922E
monochromatic
#111C35 #1F3463 #2E4C92 #3D64C1 #6A89D0

Accessibility & contrast

On white

8.19
#2E4C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2E4C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4C92
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4C92#FFFFFF#000000##FFFFFF
##2E4C921.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285495
Deuteranopia (green-blind)
#134B91
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e4c92;
/* rgb */ color: rgb(46, 76, 146);
/* oklch */ color: oklch(43.2% 0.121 264.5);
Tailwind
colors: {
  custom: {
    50: '#727db2',
    500: '#2e4c92',
    950: '#000000',
  },
}
SCSS
$custom: #2e4c92;
$custom-light: #727db2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4c92",
  "rgb": {
    "r": 46,
    "g": 76,
    "b": 146
  },
  "hsl": {
    "h": 222,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43225,
    "c": 0.12077,
    "h": 264.5
  },
  "luminance": 0.07825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E4C92

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

Preview Lab → · Contrast checker → · Palette generator →

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