#2E4193#2E4193

#2E4193 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.137 H 269.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#2E4193
RGBrgb(46, 65, 147)
HSLhsl(229, 52%, 38%)
HSVhsv(229, 69%, 58%)
CMYKcmyk(68.7%, 55.8%, 0%, 42.4%)
CIE-LABlab(30.56, 20.97, -47.52)
CIE-LCHlch(30.56, 51.94, 293.81°)
OKLaboklab(40.93% -0.001 -0.1367)
OKLCHoklch(40.93% 0.137 269.6)
XYZxyz(8.2817, 6.4672, 28.4100)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4193 #93802E
analogous
#2E7393 #2E4193 #4D2E93
triadic
#2E4193 #932E41 #41932E
tetradic
#2E4193 #932E73 #93802E #2E934D
square
#2E4193 #932E73 #93802E #2E934D
split-complementary
#2E4193 #934D2E #73932E
monochromatic
#111836 #1F2C64 #2E4193 #3D56C2 #6B7ED1

Accessibility & contrast

On white

9.16
#2E4193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2E4193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4193
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4193#FFFFFF#000000##FFFFFF
##2E41931.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D96
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e4193;
/* rgb */ color: rgb(46, 65, 147);
/* oklch */ color: oklch(40.9% 0.137 269.6);
Tailwind
colors: {
  custom: {
    50: '#7375b3',
    500: '#2e4193',
    950: '#000000',
  },
}
SCSS
$custom: #2e4193;
$custom-light: #7375b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4193",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 147
  },
  "hsl": {
    "h": 228.713,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40931,
    "c": 0.13666,
    "h": 269.6
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#2E4193
secondary
#B8A865
accent
#C14CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4193

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

Preview Lab → · Contrast checker → · Palette generator →

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