#2E3E95#2E3E95

#2E3E95 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.143 H 270.7°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#2E3E95
RGBrgb(46, 62, 149)
HSLhsl(231, 53%, 38%)
HSVhsv(231, 69%, 58%)
CMYKcmyk(69.1%, 58.4%, 0%, 41.6%)
CIE-LABlab(29.90, 23.74, -49.82)
CIE-LCHlch(29.90, 55.19, 295.48°)
OKLaboklab(40.48% 0.0018 -0.1434)
OKLCHoklch(40.48% 0.143 270.7)
XYZxyz(8.2723, 6.1952, 29.1878)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3E95 #95852E
analogous
#2E7195 #2E3E95 #512E95
triadic
#2E3E95 #952E3E #3E952E
tetradic
#2E3E95 #952E71 #95852E #2E9551
square
#2E3E95 #952E71 #95852E #2E9551
split-complementary
#2E3E95 #95512E #71952E
monochromatic
#111737 #202B66 #2E3E95 #3D52C3 #6C7CD2

Accessibility & contrast

On white

9.38
#2E3E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2E3E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3E95
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3E95#FFFFFF#000000##FFFFFF
##2E3E951.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3e95;
/* rgb */ color: rgb(46, 62, 149);
/* oklch */ color: oklch(40.5% 0.143 270.7);
Tailwind
colors: {
  custom: {
    50: '#7473b5',
    500: '#2e3e95',
    950: '#000000',
  },
}
SCSS
$custom: #2e3e95;
$custom-light: #7473b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3e95",
  "rgb": {
    "r": 46,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 230.68,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40483,
    "c": 0.14346,
    "h": 270.7
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#2E3E95
secondary
#B9AC66
accent
#C64CDC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E3E95

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

Preview Lab → · Contrast checker → · Palette generator →

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