#2E348F#2E348F

#2E348F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.148 H 274.1°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#2E348F
RGBrgb(46, 52, 143)
HSLhsl(236, 51%, 37%)
HSVhsv(236, 68%, 56%)
CMYKcmyk(67.8%, 63.6%, 0%, 43.9%)
CIE-LABlab(26.79, 28.20, -51.20)
CIE-LCHlch(26.79, 58.45, 298.85°)
OKLaboklab(38.02% 0.0105 -0.1476)
OKLCHoklch(38.02% 0.148 274.1)
XYZxyz(7.3110, 5.0193, 26.5648)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E348F #8F892E
analogous
#2E648F #2E348F #592E8F
triadic
#2E348F #8F2E34 #348F2E
tetradic
#2E348F #8F2E64 #8F892E #2E8F59
square
#2E348F #8F2E64 #8F892E #2E8F59
split-complementary
#2E348F #8F592E #648F2E
monochromatic
#101232 #1F2361 #2E348F #3D45BD #696FCF

Accessibility & contrast

On white

10.48
#2E348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E348F
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E348F#FFFFFF#000000##FFFFFF
##2E348F1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e348f;
/* rgb */ color: rgb(46, 52, 143);
/* oklch */ color: oklch(38.0% 0.148 274.1);
Tailwind
colors: {
  custom: {
    50: '#736bb1',
    500: '#2e348f',
    950: '#000000',
  },
}
SCSS
$custom: #2e348f;
$custom-light: #736bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e348f",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 236.289,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38024,
    "c": 0.14798,
    "h": 274.1
  },
  "luminance": 0.0502
}

Semantic roles & 50–950 ramp

primary
#2E348F
secondary
#B6B063
accent
#D24DDB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E348F

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

Preview Lab → · Contrast checker → · Palette generator →

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