#2E347E#2E347E

#2E347E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.124 H 275.0°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#2E347E
RGBrgb(46, 52, 126)
HSLhsl(236, 47%, 34%)
HSVhsv(236, 63%, 49%)
CMYKcmyk(63.5%, 58.7%, 0%, 50.6%)
CIE-LABlab(25.39, 21.99, -42.87)
CIE-LCHlch(25.39, 48.18, 297.16°)
OKLaboklab(36.55% 0.0107 -0.1231)
OKLCHoklch(36.55% 0.124 275)
XYZxyz(6.1194, 4.5427, 20.2890)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E347E #7E782E
analogous
#2E5C7E #2E347E #502E7E
triadic
#2E347E #7E2E34 #347E2E
tetradic
#2E347E #7E2E5C #7E782E #2E7E50
square
#2E347E #7E2E5C #7E782E #2E7E50
split-complementary
#2E347E #7E502E #5C7E2E
monochromatic
#0D0F24 #1E2151 #2E347E #3E47AB #6169C5

Accessibility & contrast

On white

11.00
#2E347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E347E
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E347E#FFFFFF#000000##FFFFFF
##2E347E1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e347e;
/* rgb */ color: rgb(46, 52, 126);
/* oklch */ color: oklch(36.5% 0.124 275.0);
Tailwind
colors: {
  custom: {
    50: '#706ba4',
    500: '#2e347e',
    950: '#000000',
  },
}
SCSS
$custom: #2e347e;
$custom-light: #706ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e347e",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 235.5,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36549,
    "c": 0.12361,
    "h": 275
  },
  "luminance": 0.04543
}

Semantic roles & 50–950 ramp

primary
#2E347E
secondary
#ACA65C
accent
#CC52D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E347E

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

Preview Lab → · Contrast checker → · Palette generator →

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