#2E4572#2E4572

#2E4572 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.4% C 0.082 H 262.7°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#2E4572
RGBrgb(46, 69, 114)
HSLhsl(220, 43%, 31%)
HSVhsv(220, 60%, 45%)
CMYKcmyk(59.6%, 39.5%, 0%, 55.3%)
CIE-LABlab(29.54, 5.95, -28.65)
CIE-LCHlch(29.54, 29.26, 281.74°)
OKLaboklab(39.45% -0.0104 -0.0812)
OKLCHoklch(39.45% 0.082 262.7)
XYZxyz(6.2911, 6.0515, 16.7529)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4572 #725B2E
analogous
#2E6772 #2E4572 #392E72
triadic
#2E4572 #722E45 #45722E
tetradic
#2E4572 #722E67 #725B2E #2E7239
square
#2E4572 #722E67 #725B2E #2E7239
split-complementary
#2E4572 #72392E #67722E
monochromatic
#0B101B #1C2B46 #2E4572 #405F9E #5D7EBE

Accessibility & contrast

On white

9.50
#2E4572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2E4572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4572
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4572#FFFFFF#000000##FFFFFF
##2E45721.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324974
Deuteranopia (green-blind)
#2A4371
Tritanopia (blue-blind)
#004F56
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4572;
/* rgb */ color: rgb(46, 69, 114);
/* oklch */ color: oklch(39.4% 0.082 262.7);
Tailwind
colors: {
  custom: {
    50: '#6d789b',
    500: '#2e4572',
    950: '#000000',
  },
}
SCSS
$custom: #2e4572;
$custom-light: #6d789b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4572",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 114
  },
  "hsl": {
    "h": 219.706,
    "s": 42.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39449,
    "c": 0.08183,
    "h": 262.7
  },
  "luminance": 0.06052
}

Semantic roles & 50–950 ramp

primary
#2E4572
secondary
#A38A58
accent
#A856D2
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2E4572

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

Preview Lab → · Contrast checker → · Palette generator →

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