#2E347F#2E347F

#2E347F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.125 H 274.9°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#2E347F
RGBrgb(46, 52, 127)
HSLhsl(236, 47%, 34%)
HSVhsv(236, 64%, 50%)
CMYKcmyk(63.8%, 59.1%, 0%, 50.2%)
CIE-LABlab(25.47, 22.36, -43.37)
CIE-LCHlch(25.47, 48.80, 297.27°)
OKLaboklab(36.63% 0.0107 -0.1246)
OKLCHoklch(36.63% 0.125 274.9)
XYZxyz(6.1842, 4.5686, 20.6305)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E347F #7F792E
analogous
#2E5D7F #2E347F #512E7F
triadic
#2E347F #7F2E34 #347F2E
tetradic
#2E347F #7F2E5D #7F792E #2E7F51
square
#2E347F #7F2E5D #7F792E #2E7F51
split-complementary
#2E347F #7F512E #5D7F2E
monochromatic
#0D0F25 #1E2252 #2E347F #3E46AC #6169C6

Accessibility & contrast

On white

10.97
#2E347F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2E347F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E347F
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E347F#FFFFFF#000000##FFFFFF
##2E347F1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e347f;
/* rgb */ color: rgb(46, 52, 127);
/* oklch */ color: oklch(36.6% 0.125 274.9);
Tailwind
colors: {
  custom: {
    50: '#706ba5',
    500: '#2e347f',
    950: '#000000',
  },
}
SCSS
$custom: #2e347f;
$custom-light: #706ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e347f",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 127
  },
  "hsl": {
    "h": 235.556,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36633,
    "c": 0.12508,
    "h": 274.9
  },
  "luminance": 0.04569
}

Semantic roles & 50–950 ramp

primary
#2E347F
secondary
#ADA75C
accent
#CD51D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E347F

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

Preview Lab → · Contrast checker → · Palette generator →

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