#2E4381#2E4381

#2E4381 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.0% C 0.107 H 267.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#2E4381
RGBrgb(46, 67, 129)
HSLhsl(225, 47%, 34%)
HSVhsv(225, 64%, 51%)
CMYKcmyk(64.3%, 48.1%, 0%, 49.4%)
CIE-LABlab(29.86, 12.85, -37.54)
CIE-LCHlch(29.86, 39.68, 288.90°)
OKLaboklab(39.99% -0.005 -0.1073)
OKLCHoklch(39.99% 0.107 267.4)
XYZxyz(7.0950, 6.1795, 21.5835)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4381 #816C2E
analogous
#2E6D81 #2E4381 #422E81
triadic
#2E4381 #812E43 #43812E
tetradic
#2E4381 #812E6D #816C2E #2E8142
square
#2E4381 #812E6D #816C2E #2E8142
split-complementary
#2E4381 #81422E #6D812E
monochromatic
#0E1427 #1E2C54 #2E4381 #3E5AAE #627CC7

Accessibility & contrast

On white

9.39
#2E4381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2E4381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4381
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4381#FFFFFF#000000##FFFFFF
##2E43811.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254A83
Deuteranopia (green-blind)
#174380
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4381;
/* rgb */ color: rgb(46, 67, 129);
/* oklch */ color: oklch(40.0% 0.107 267.4);
Tailwind
colors: {
  custom: {
    50: '#6f76a6',
    500: '#2e4381',
    950: '#000000',
  },
}
SCSS
$custom: #2e4381;
$custom-light: #6f76a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4381",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 224.819,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39994,
    "c": 0.10738,
    "h": 267.4
  },
  "luminance": 0.0618
}

Semantic roles & 50–950 ramp

primary
#2E4381
secondary
#AE995D
accent
#B551D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2E4381

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

Preview Lab → · Contrast checker → · Palette generator →

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