#2E3892#2E3892

#2E3892 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.147 H 272.7°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2E3892
RGBrgb(46, 56, 146)
HSLhsl(234, 52%, 38%)
HSVhsv(234, 68%, 57%)
CMYKcmyk(68.5%, 61.6%, 0%, 42.7%)
CIE-LABlab(28.07, 26.65, -50.96)
CIE-LCHlch(28.07, 57.50, 297.61°)
OKLaboklab(39.05% 0.007 -0.1469)
OKLCHoklch(39.05% 0.147 272.7)
XYZxyz(7.7275, 5.4838, 27.8398)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3892 #92882E
analogous
#2E6A92 #2E3892 #562E92
triadic
#2E3892 #922E38 #38922E
tetradic
#2E3892 #922E6A #92882E #2E9256
square
#2E3892 #922E6A #92882E #2E9256
split-complementary
#2E3892 #92562E #6A922E
monochromatic
#111435 #1F2663 #2E3892 #3D4AC1 #6A74D0

Accessibility & contrast

On white

10.01
#2E3892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2E3892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3892
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3892#FFFFFF#000000##FFFFFF
##2E38921.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#003E90
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e3892;
/* rgb */ color: rgb(46, 56, 146);
/* oklch */ color: oklch(39.0% 0.147 272.7);
Tailwind
colors: {
  custom: {
    50: '#746eb3',
    500: '#2e3892',
    950: '#000000',
  },
}
SCSS
$custom: #2e3892;
$custom-light: #746eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3892",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 146
  },
  "hsl": {
    "h": 234,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39048,
    "c": 0.14703,
    "h": 272.7
  },
  "luminance": 0.05485
}

Semantic roles & 50–950 ramp

primary
#2E3892
secondary
#B7AF65
accent
#CD4CDC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E3892

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

Preview Lab → · Contrast checker → · Palette generator →

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