#2E348C#2E348C

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

Color values

HEX#2E348C
RGBrgb(46, 52, 140)
HSLhsl(236, 51%, 36%)
HSVhsv(236, 67%, 55%)
CMYKcmyk(67.1%, 62.9%, 0%, 45.1%)
CIE-LABlab(26.53, 27.11, -49.76)
CIE-LCHlch(26.53, 56.67, 298.58°)
OKLaboklab(37.76% 0.0106 -0.1434)
OKLCHoklch(37.76% 0.144 274.2)
XYZxyz(7.0868, 4.9297, 25.3839)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E348C #8C862E
analogous
#2E638C #2E348C #572E8C
triadic
#2E348C #8C2E34 #348C2E
tetradic
#2E348C #8C2E63 #8C862E #2E8C57
square
#2E348C #8C2E63 #8C862E #2E8C57
split-complementary
#2E348C #8C572E #638C2E
monochromatic
#101230 #1F235E #2E348C #3D45BA #676ECD

Accessibility & contrast

On white

10.57
#2E348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E348C
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E348C#FFFFFF#000000##FFFFFF
##2E348C1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e348c;
/* rgb */ color: rgb(46, 52, 140);
/* oklch */ color: oklch(37.8% 0.144 274.2);
Tailwind
colors: {
  custom: {
    50: '#736bae',
    500: '#2e348c',
    950: '#000000',
  },
}
SCSS
$custom: #2e348c;
$custom-light: #736bae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e348c",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 236.17,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37755,
    "c": 0.14377,
    "h": 274.2
  },
  "luminance": 0.0493
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E348C

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

Preview Lab → · Contrast checker → · Palette generator →

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