#2E348A#2E348A

#2E348A is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.141 H 274.3°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2E348A
RGBrgb(46, 52, 138)
HSLhsl(236, 50%, 36%)
HSVhsv(236, 67%, 54%)
CMYKcmyk(66.7%, 62.3%, 0%, 45.9%)
CIE-LABlab(26.36, 26.38, -48.79)
CIE-LCHlch(26.36, 55.47, 298.40°)
OKLaboklab(37.58% 0.0107 -0.1405)
OKLCHoklch(37.58% 0.141 274.3)
XYZxyz(6.9406, 4.8712, 24.6143)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E348A #8A842E
analogous
#2E628A #2E348A #562E8A
triadic
#2E348A #8A2E34 #348A2E
tetradic
#2E348A #8A2E62 #8A842E #2E8A56
square
#2E348A #8A2E62 #8A842E #2E8A56
split-complementary
#2E348A #8A562E #628A2E
monochromatic
#0F112E #1F235C #2E348A #3D45B8 #666DCC

Accessibility & contrast

On white

10.64
#2E348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2E348A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E348A
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E348A#FFFFFF#000000##FFFFFF
##2E348A1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e348a;
/* rgb */ color: rgb(46, 52, 138);
/* oklch */ color: oklch(37.6% 0.141 274.3);
Tailwind
colors: {
  custom: {
    50: '#726bad',
    500: '#2e348a',
    950: '#000000',
  },
}
SCSS
$custom: #2e348a;
$custom-light: #726bad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e348a",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 236.087,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37578,
    "c": 0.14095,
    "h": 274.3
  },
  "luminance": 0.04872
}

Semantic roles & 50–950 ramp

primary
#2E348A
secondary
#B3AE61
accent
#D04EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E348A

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

Preview Lab → · Contrast checker → · Palette generator →

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