#2E3D95#2E3D95

#2E3D95 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.145 H 271.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#2E3D95
RGBrgb(46, 61, 149)
HSLhsl(231, 53%, 38%)
HSVhsv(231, 69%, 58%)
CMYKcmyk(69.1%, 59.1%, 0%, 41.6%)
CIE-LABlab(29.63, 24.41, -50.25)
CIE-LCHlch(29.63, 55.87, 295.91°)
OKLaboklab(40.28% 0.0027 -0.1447)
OKLCHoklch(40.28% 0.145 271.1)
XYZxyz(8.2184, 6.0875, 29.1698)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3D95 #95862E
analogous
#2E7095 #2E3D95 #522E95
triadic
#2E3D95 #952E3D #3D952E
tetradic
#2E3D95 #952E70 #95862E #2E9552
square
#2E3D95 #952E70 #95862E #2E9552
split-complementary
#2E3D95 #95522E #70952E
monochromatic
#111737 #202A66 #2E3D95 #3D51C3 #6C7BD2

Accessibility & contrast

On white

9.47
#2E3D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2E3D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3D95
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3D95#FFFFFF#000000##FFFFFF
##2E3D951.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e3d95;
/* rgb */ color: rgb(46, 61, 149);
/* oklch */ color: oklch(40.3% 0.145 271.1);
Tailwind
colors: {
  custom: {
    50: '#7472b5',
    500: '#2e3d95',
    950: '#000000',
  },
}
SCSS
$custom: #2e3d95;
$custom-light: #7472b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3d95",
  "rgb": {
    "r": 46,
    "g": 61,
    "b": 149
  },
  "hsl": {
    "h": 231.262,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40284,
    "c": 0.14477,
    "h": 271.1
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#2E3D95
secondary
#B9AD66
accent
#C74CDC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E3D95

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

Preview Lab → · Contrast checker → · Palette generator →

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