#2E3094#2E3094

#2E3094 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.160 H 274.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#2E3094
RGBrgb(46, 48, 148)
HSLhsl(239, 53%, 38%)
HSVhsv(239, 69%, 58%)
CMYKcmyk(68.9%, 67.6%, 0%, 42%)
CIE-LABlab(26.25, 32.60, -55.16)
CIE-LCHlch(26.25, 64.07, 300.58°)
OKLaboklab(37.77% 0.0133 -0.1592)
OKLCHoklch(37.77% 0.16 274.8)
XYZxyz(7.5272, 4.8322, 28.5473)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3094 #94922E
analogous
#2E6394 #2E3094 #5F2E94
triadic
#2E3094 #942E30 #30942E
tetradic
#2E3094 #942E63 #94922E #2E945F
square
#2E3094 #942E63 #94922E #2E945F
split-complementary
#2E3094 #945F2E #63942E
monochromatic
#111237 #1F2165 #2E3094 #3D3FC3 #6B6DD1

Accessibility & contrast

On white

10.68
#2E3094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2E3094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3094
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3094#FFFFFF#000000##FFFFFF
##2E30941.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e3094;
/* rgb */ color: rgb(46, 48, 148);
/* oklch */ color: oklch(37.8% 0.160 274.8);
Tailwind
colors: {
  custom: {
    50: '#7569b4',
    500: '#2e3094',
    950: '#000000',
  },
}
SCSS
$custom: #2e3094;
$custom-light: #7569b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3094",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 148
  },
  "hsl": {
    "h": 238.824,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37768,
    "c": 0.1598,
    "h": 274.8
  },
  "luminance": 0.04833
}

Semantic roles & 50–950 ramp

primary
#2E3094
secondary
#B8B766
accent
#D94CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E3094

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

Preview Lab → · Contrast checker → · Palette generator →

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