#2E4973#2E4973

#2E4973 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.5% C 0.078 H 258.9°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#2E4973
RGBrgb(46, 73, 115)
HSLhsl(217, 43%, 32%)
HSVhsv(217, 60%, 45%)
CMYKcmyk(60%, 36.5%, 0%, 54.9%)
CIE-LABlab(30.84, 3.65, -27.23)
CIE-LCHlch(30.84, 27.47, 277.63°)
OKLaboklab(40.48% -0.015 -0.077)
OKLCHoklch(40.48% 0.078 258.9)
XYZxyz(6.6027, 6.5832, 17.1391)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4973 #73582E
analogous
#2E6C73 #2E4973 #362E73
triadic
#2E4973 #732E49 #49732E
tetradic
#2E4973 #732E6C #73582E #2E7336
square
#2E4973 #732E6C #73582E #2E7336
split-complementary
#2E4973 #73362E #6C732E
monochromatic
#0B121C #1D2D47 #2E4973 #3F659F #5D83BE

Accessibility & contrast

On white

9.06
#2E4973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2E4973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4973
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4973#FFFFFF#000000##FFFFFF
##2E49731.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C75
Deuteranopia (green-blind)
#2F4672
Tritanopia (blue-blind)
#005258
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e4973;
/* rgb */ color: rgb(46, 73, 115);
/* oklch */ color: oklch(40.5% 0.078 258.9);
Tailwind
colors: {
  custom: {
    50: '#6d7b9b',
    500: '#2e4973',
    950: '#000000',
  },
}
SCSS
$custom: #2e4973;
$custom-light: #6d7b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4973",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 115
  },
  "hsl": {
    "h": 216.522,
    "s": 42.857,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40475,
    "c": 0.07845,
    "h": 258.9
  },
  "luminance": 0.06584
}

Semantic roles & 50–950 ramp

primary
#2E4973
secondary
#A48758
accent
#A255D3
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2E4973

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

Preview Lab → · Contrast checker → · Palette generator →

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