#2E4A92#2E4A92

#2E4A92 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.123 H 265.5°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#2E4A92
RGBrgb(46, 74, 146)
HSLhsl(223, 52%, 38%)
HSVhsv(223, 68%, 57%)
CMYKcmyk(68.5%, 49.3%, 0%, 42.7%)
CIE-LABlab(33.03, 14.52, -42.92)
CIE-LCHlch(33.03, 45.31, 288.69°)
OKLaboklab(42.78% -0.0097 -0.123)
OKLCHoklch(42.78% 0.123 265.5)
XYZxyz(8.7620, 7.5529, 28.1846)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A92 #92762E
analogous
#2E7C92 #2E4A92 #442E92
triadic
#2E4A92 #922E4A #4A922E
tetradic
#2E4A92 #922E7C #92762E #2E9244
square
#2E4A92 #922E7C #92762E #2E9244
split-complementary
#2E4A92 #92442E #7C922E
monochromatic
#111B35 #1F3263 #2E4A92 #3D62C1 #6A87D0

Accessibility & contrast

On white

8.36
#2E4A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2E4A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4A92
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4A92#FFFFFF#000000##FFFFFF
##2E4A921.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245395
Deuteranopia (green-blind)
#0B4991
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e4a92;
/* rgb */ color: rgb(46, 74, 146);
/* oklch */ color: oklch(42.8% 0.123 265.5);
Tailwind
colors: {
  custom: {
    50: '#737cb2',
    500: '#2e4a92',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a92;
$custom-light: #737cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a92",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 146
  },
  "hsl": {
    "h": 223.2,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42781,
    "c": 0.12336,
    "h": 265.5
  },
  "luminance": 0.07554
}

Semantic roles & 50–950 ramp

primary
#2E4A92
secondary
#B7A065
accent
#B34CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E4A92

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

Preview Lab → · Contrast checker → · Palette generator →

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