#2E4173#2E4173

#2E4173 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.6% C 0.089 H 266.6°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#2E4173
RGBrgb(46, 65, 115)
HSLhsl(223, 43%, 32%)
HSVhsv(223, 60%, 45%)
CMYKcmyk(60%, 43.5%, 0%, 54.9%)
CIE-LABlab(28.38, 9.02, -31.13)
CIE-LCHlch(28.38, 32.41, 286.16°)
OKLaboklab(38.57% -0.0052 -0.0885)
OKLCHoklch(38.57% 0.089 266.6)
XYZxyz(6.1105, 5.5988, 16.9750)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4173 #73602E
analogous
#2E6473 #2E4173 #3E2E73
triadic
#2E4173 #732E41 #41732E
tetradic
#2E4173 #732E64 #73602E #2E733E
square
#2E4173 #732E64 #73602E #2E733E
split-complementary
#2E4173 #733E2E #64732E
monochromatic
#0B101C #1D2847 #2E4173 #3F5A9F #5D78BE

Accessibility & contrast

On white

9.91
#2E4173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2E4173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4173
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4173#FFFFFF#000000##FFFFFF
##2E41731.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4675
Deuteranopia (green-blind)
#234072
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e4173;
/* rgb */ color: rgb(46, 65, 115);
/* oklch */ color: oklch(38.6% 0.089 266.6);
Tailwind
colors: {
  custom: {
    50: '#6d759b',
    500: '#2e4173',
    950: '#000000',
  },
}
SCSS
$custom: #2e4173;
$custom-light: #6d759b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4173",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 115
  },
  "hsl": {
    "h": 223.478,
    "s": 42.857,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38568,
    "c": 0.08863,
    "h": 266.6
  },
  "luminance": 0.05599
}

Semantic roles & 50–950 ramp

primary
#2E4173
secondary
#A48F58
accent
#B055D3
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2E4173

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

Preview Lab → · Contrast checker → · Palette generator →

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