#2E4372#2E4372

#2E4372 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.084 H 264.6°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#2E4372
RGBrgb(46, 67, 114)
HSLhsl(221, 43%, 31%)
HSVhsv(221, 60%, 45%)
CMYKcmyk(59.6%, 41.2%, 0%, 55.3%)
CIE-LABlab(28.93, 7.30, -29.62)
CIE-LCHlch(28.93, 30.51, 283.84°)
OKLaboklab(38.97% -0.0079 -0.084)
OKLCHoklch(38.97% 0.084 264.6)
XYZxyz(6.1701, 5.8096, 16.7125)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4372 #725D2E
analogous
#2E6572 #2E4372 #3B2E72
triadic
#2E4372 #722E43 #43722E
tetradic
#2E4372 #722E65 #725D2E #2E723B
square
#2E4372 #722E65 #725D2E #2E723B
split-complementary
#2E4372 #723B2E #65722E
monochromatic
#0B101B #1C2946 #2E4372 #405D9E #5D7BBE

Accessibility & contrast

On white

9.71
#2E4372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2E4372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4372
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4372#FFFFFF#000000##FFFFFF
##2E43721.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4874
Deuteranopia (green-blind)
#274171
Tritanopia (blue-blind)
#004D55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e4372;
/* rgb */ color: rgb(46, 67, 114);
/* oklch */ color: oklch(39.0% 0.084 264.6);
Tailwind
colors: {
  custom: {
    50: '#6d769b',
    500: '#2e4372',
    950: '#000000',
  },
}
SCSS
$custom: #2e4372;
$custom-light: #6d769b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4372",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 114
  },
  "hsl": {
    "h": 221.471,
    "s": 42.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38973,
    "c": 0.08441,
    "h": 264.6
  },
  "luminance": 0.0581
}

Semantic roles & 50–950 ramp

primary
#2E4372
secondary
#A38C58
accent
#AC56D2
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2E4372

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

Preview Lab → · Contrast checker → · Palette generator →

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