#2E348B#2E348B

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

Color values

HEX#2E348B
RGBrgb(46, 52, 139)
HSLhsl(236, 50%, 36%)
HSVhsv(236, 67%, 55%)
CMYKcmyk(66.9%, 62.6%, 0%, 45.5%)
CIE-LABlab(26.45, 26.75, -49.28)
CIE-LCHlch(26.45, 56.07, 298.49°)
OKLaboklab(37.67% 0.0106 -0.142)
OKLCHoklch(37.67% 0.142 274.3)
XYZxyz(7.0134, 4.9003, 24.9973)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E348B #8B852E
analogous
#2E638B #2E348B #572E8B
triadic
#2E348B #8B2E34 #348B2E
tetradic
#2E348B #8B2E63 #8B852E #2E8B57
square
#2E348B #8B2E63 #8B852E #2E8B57
split-complementary
#2E348B #8B572E #638B2E
monochromatic
#10122F #1F235D #2E348B #3D45B9 #676DCD

Accessibility & contrast

On white

10.60
#2E348B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2E348B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E348B
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E348B#FFFFFF#000000##FFFFFF
##2E348B1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e348b;
/* rgb */ color: rgb(46, 52, 139);
/* oklch */ color: oklch(37.7% 0.142 274.3);
Tailwind
colors: {
  custom: {
    50: '#726bae',
    500: '#2e348b',
    950: '#000000',
  },
}
SCSS
$custom: #2e348b;
$custom-light: #726bae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e348b",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 236.129,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37666,
    "c": 0.14237,
    "h": 274.3
  },
  "luminance": 0.04901
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E348B

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

Preview Lab → · Contrast checker → · Palette generator →

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