#2E4092#2E4092

#2E4092 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.137 H 269.9°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#2E4092
RGBrgb(46, 64, 146)
HSLhsl(229, 52%, 38%)
HSVhsv(229, 68%, 57%)
CMYKcmyk(68.5%, 56.2%, 0%, 42.7%)
CIE-LABlab(30.21, 21.27, -47.48)
CIE-LCHlch(30.21, 52.02, 294.13°)
OKLaboklab(40.64% -0.0001 -0.1365)
OKLCHoklch(40.64% 0.137 269.9)
XYZxyz(8.1467, 6.3222, 27.9795)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4092 #92802E
analogous
#2E7292 #2E4092 #4E2E92
triadic
#2E4092 #922E40 #40922E
tetradic
#2E4092 #922E72 #92802E #2E924E
square
#2E4092 #922E72 #92802E #2E924E
split-complementary
#2E4092 #924E2E #72922E
monochromatic
#111735 #1F2C63 #2E4092 #3D54C1 #6A7DD0

Accessibility & contrast

On white

9.27
#2E4092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2E4092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4092
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4092#FFFFFF#000000##FFFFFF
##2E40921.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e4092;
/* rgb */ color: rgb(46, 64, 146);
/* oklch */ color: oklch(40.6% 0.137 269.9);
Tailwind
colors: {
  custom: {
    50: '#7374b3',
    500: '#2e4092',
    950: '#000000',
  },
}
SCSS
$custom: #2e4092;
$custom-light: #7374b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4092",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 146
  },
  "hsl": {
    "h": 229.2,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40643,
    "c": 0.13654,
    "h": 269.9
  },
  "luminance": 0.06323
}

Semantic roles & 50–950 ramp

primary
#2E4092
secondary
#B7A865
accent
#C24CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4092

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

Preview Lab → · Contrast checker → · Palette generator →

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