#2E3095#2E3095

#2E3095 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.161 H 274.7°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2E3095
RGBrgb(46, 48, 149)
HSLhsl(239, 53%, 38%)
HSVhsv(239, 69%, 58%)
CMYKcmyk(69.1%, 67.8%, 0%, 41.6%)
CIE-LABlab(26.34, 32.96, -55.62)
CIE-LCHlch(26.34, 64.65, 300.65°)
OKLaboklab(37.86% 0.0132 -0.1606)
OKLCHoklch(37.86% 0.161 274.7)
XYZxyz(7.6067, 4.8640, 28.9659)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3095 #95932E
analogous
#2E6395 #2E3095 #5F2E95
triadic
#2E3095 #952E30 #30952E
tetradic
#2E3095 #952E63 #95932E #2E955F
square
#2E3095 #952E63 #95932E #2E955F
split-complementary
#2E3095 #955F2E #63952E
monochromatic
#111237 #202166 #2E3095 #3D40C3 #6C6ED2

Accessibility & contrast

On white

10.64
#2E3095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3095
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3095#FFFFFF#000000##FFFFFF
##2E30951.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e3095;
/* rgb */ color: rgb(46, 48, 149);
/* oklch */ color: oklch(37.9% 0.161 274.7);
Tailwind
colors: {
  custom: {
    50: '#7569b5',
    500: '#2e3095',
    950: '#000000',
  },
}
SCSS
$custom: #2e3095;
$custom-light: #7569b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3095",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 149
  },
  "hsl": {
    "h": 238.835,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37863,
    "c": 0.16115,
    "h": 274.7
  },
  "luminance": 0.04865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E3095

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

Preview Lab → · Contrast checker → · Palette generator →

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