#2E4472#2E4472

#2E4472 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.2% C 0.083 H 263.7°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#2E4472
RGBrgb(46, 68, 114)
HSLhsl(221, 43%, 31%)
HSVhsv(221, 60%, 45%)
CMYKcmyk(59.6%, 40.4%, 0%, 55.3%)
CIE-LABlab(29.23, 6.63, -29.14)
CIE-LCHlch(29.23, 29.88, 282.81°)
OKLaboklab(39.21% -0.0091 -0.0826)
OKLCHoklch(39.21% 0.083 263.7)
XYZxyz(6.2301, 5.9295, 16.7325)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4472 #725C2E
analogous
#2E6672 #2E4472 #3A2E72
triadic
#2E4472 #722E44 #44722E
tetradic
#2E4472 #722E66 #725C2E #2E723A
square
#2E4472 #722E66 #725C2E #2E723A
split-complementary
#2E4472 #723A2E #66722E
monochromatic
#0B101B #1C2A46 #2E4472 #405E9E #5D7CBE

Accessibility & contrast

On white

9.61
#2E4472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2E4472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4472
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4472#FFFFFF#000000##FFFFFF
##2E44721.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314874
Deuteranopia (green-blind)
#284271
Tritanopia (blue-blind)
#004E55
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e4472;
/* rgb */ color: rgb(46, 68, 114);
/* oklch */ color: oklch(39.2% 0.083 263.7);
Tailwind
colors: {
  custom: {
    50: '#6d779b',
    500: '#2e4472',
    950: '#000000',
  },
}
SCSS
$custom: #2e4472;
$custom-light: #6d779b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4472",
  "rgb": {
    "r": 46,
    "g": 68,
    "b": 114
  },
  "hsl": {
    "h": 220.588,
    "s": 42.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39211,
    "c": 0.08311,
    "h": 263.7
  },
  "luminance": 0.0593
}

Semantic roles & 50–950 ramp

primary
#2E4472
secondary
#A38B58
accent
#AA56D2
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2E4472

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

Preview Lab → · Contrast checker → · Palette generator →

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