#2E348D#2E348D

#2E348D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.145 H 274.2°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#2E348D
RGBrgb(46, 52, 141)
HSLhsl(236, 51%, 37%)
HSVhsv(236, 67%, 55%)
CMYKcmyk(67.4%, 63.1%, 0%, 44.7%)
CIE-LABlab(26.62, 27.48, -50.24)
CIE-LCHlch(26.62, 57.26, 298.67°)
OKLaboklab(37.84% 0.0106 -0.1448)
OKLCHoklch(37.84% 0.145 274.2)
XYZxyz(7.1608, 4.9593, 25.7740)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E348D #8D872E
analogous
#2E648D #2E348D #582E8D
triadic
#2E348D #8D2E34 #348D2E
tetradic
#2E348D #8D2E64 #8D872E #2E8D58
square
#2E348D #8D2E64 #8D872E #2E8D58
split-complementary
#2E348D #8D582E #648D2E
monochromatic
#101231 #1F235F #2E348D #3D45BB #686ECE

Accessibility & contrast

On white

10.54
#2E348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2E348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E348D
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E348D#FFFFFF#000000##FFFFFF
##2E348D1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e348d;
/* rgb */ color: rgb(46, 52, 141);
/* oklch */ color: oklch(37.8% 0.145 274.2);
Tailwind
colors: {
  custom: {
    50: '#736baf',
    500: '#2e348d',
    950: '#000000',
  },
}
SCSS
$custom: #2e348d;
$custom-light: #736baf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e348d",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 236.211,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37844,
    "c": 0.14518,
    "h": 274.2
  },
  "luminance": 0.0496
}

Semantic roles & 50–950 ramp

primary
#2E348D
secondary
#B5AF62
accent
#D14EDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E348D

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

Preview Lab → · Contrast checker → · Palette generator →

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