#2E4292#2E4292

#2E4292 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.134 H 269.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#2E4292
RGBrgb(46, 66, 146)
HSLhsl(228, 52%, 38%)
HSVhsv(228, 68%, 57%)
CMYKcmyk(68.5%, 54.8%, 0%, 42.7%)
CIE-LABlab(30.76, 19.92, -46.58)
CIE-LCHlch(30.76, 50.66, 293.15°)
OKLaboklab(41.06% -0.002 -0.1339)
OKLCHoklch(41.06% 0.134 269.2)
XYZxyz(8.2615, 6.5518, 28.0178)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4292 #927E2E
analogous
#2E7492 #2E4292 #4C2E92
triadic
#2E4292 #922E42 #42922E
tetradic
#2E4292 #922E74 #927E2E #2E924C
square
#2E4292 #922E74 #927E2E #2E924C
split-complementary
#2E4292 #924C2E #74922E
monochromatic
#111835 #1F2D63 #2E4292 #3D57C1 #6A7FD0

Accessibility & contrast

On white

9.09
#2E4292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2E4292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4292
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4292#FFFFFF#000000##FFFFFF
##2E42921.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094D95
Deuteranopia (green-blind)
#004490
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e4292;
/* rgb */ color: rgb(46, 66, 146);
/* oklch */ color: oklch(41.1% 0.134 269.2);
Tailwind
colors: {
  custom: {
    50: '#7376b3',
    500: '#2e4292',
    950: '#000000',
  },
}
SCSS
$custom: #2e4292;
$custom-light: #7376b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4292",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 146
  },
  "hsl": {
    "h": 228,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41059,
    "c": 0.13389,
    "h": 269.2
  },
  "luminance": 0.06553
}

Semantic roles & 50–950 ramp

primary
#2E4292
secondary
#B7A765
accent
#BF4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4292

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

Preview Lab → · Contrast checker → · Palette generator →

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