#2E347D#2E347D

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

Color values

HEX#2E347D
RGBrgb(46, 52, 125)
HSLhsl(235, 46%, 34%)
HSVhsv(235, 63%, 49%)
CMYKcmyk(63.2%, 58.4%, 0%, 51%)
CIE-LABlab(25.31, 21.63, -42.37)
CIE-LCHlch(25.31, 47.57, 297.04°)
OKLaboklab(36.47% 0.0107 -0.1217)
OKLCHoklch(36.47% 0.122 275)
XYZxyz(6.0552, 4.5170, 19.9508)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E347D #7D772E
analogous
#2E5B7D #2E347D #4F2E7D
triadic
#2E347D #7D2E34 #347D2E
tetradic
#2E347D #7D2E5B #7D772E #2E7D4F
square
#2E347D #7D2E5B #7D772E #2E7D4F
split-complementary
#2E347D #7D4F2E #5B7D2E
monochromatic
#0D0F24 #1E2150 #2E347D #3E47AA #6168C5

Accessibility & contrast

On white

11.03
#2E347D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2E347D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E347D
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E347D#FFFFFF#000000##FFFFFF
##2E347D1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e347d;
/* rgb */ color: rgb(46, 52, 125);
/* oklch */ color: oklch(36.5% 0.122 275.0);
Tailwind
colors: {
  custom: {
    50: '#706ba3',
    500: '#2e347d',
    950: '#000000',
  },
}
SCSS
$custom: #2e347d;
$custom-light: #706ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e347d",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 125
  },
  "hsl": {
    "h": 235.443,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36466,
    "c": 0.12213,
    "h": 275
  },
  "luminance": 0.04517
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E347D

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

Preview Lab → · Contrast checker → · Palette generator →

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