#2E347B#2E347B

#2E347B is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.3% C 0.119 H 275.1°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2E347B
RGBrgb(46, 52, 123)
HSLhsl(235, 46%, 33%)
HSVhsv(235, 63%, 48%)
CMYKcmyk(62.6%, 57.7%, 0%, 51.8%)
CIE-LABlab(25.16, 20.89, -41.36)
CIE-LCHlch(25.16, 46.34, 296.80°)
OKLaboklab(36.3% 0.0106 -0.1187)
OKLCHoklch(36.3% 0.119 275.1)
XYZxyz(5.9287, 4.4664, 19.2847)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E347B #7B752E
analogous
#2E5A7B #2E347B #4E2E7B
triadic
#2E347B #7B2E34 #347B2E
tetradic
#2E347B #7B2E5A #7B752E #2E7B4E
square
#2E347B #7B2E5A #7B752E #2E7B4E
split-complementary
#2E347B #7B4E2E #5A7B2E
monochromatic
#0D0E22 #1D214E #2E347B #3F47A8 #6068C3

Accessibility & contrast

On white

11.09
#2E347B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2E347B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E347B
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E347B#FFFFFF#000000##FFFFFF
##2E347B1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7D
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e347b;
/* rgb */ color: rgb(46, 52, 123);
/* oklch */ color: oklch(36.3% 0.119 275.1);
Tailwind
colors: {
  custom: {
    50: '#6f6ba2',
    500: '#2e347b',
    950: '#000000',
  },
}
SCSS
$custom: #2e347b;
$custom-light: #6f6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e347b",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 235.325,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36302,
    "c": 0.11917,
    "h": 275.1
  },
  "luminance": 0.04467
}

Semantic roles & 50–950 ramp

primary
#2E347B
secondary
#AAA45B
accent
#CB53D5
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E347B

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

Preview Lab → · Contrast checker → · Palette generator →

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