#2E4380#2E4380

#2E4380 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.9% C 0.106 H 267.2°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#2E4380
RGBrgb(46, 67, 128)
HSLhsl(225, 47%, 34%)
HSVhsv(225, 64%, 50%)
CMYKcmyk(64.1%, 47.7%, 0%, 49.8%)
CIE-LABlab(29.80, 12.48, -37.03)
CIE-LCHlch(29.80, 39.07, 288.62°)
OKLaboklab(39.92% -0.0051 -0.1057)
OKLCHoklch(39.92% 0.106 267.2)
XYZxyz(7.0288, 6.1531, 21.2351)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4380 #806B2E
analogous
#2E6C80 #2E4380 #422E80
triadic
#2E4380 #802E43 #43802E
tetradic
#2E4380 #802E6C #806B2E #2E8042
square
#2E4380 #802E6C #806B2E #2E8042
split-complementary
#2E4380 #80422E #6C802E
monochromatic
#0E1426 #1E2B53 #2E4380 #3E5BAD #627CC7

Accessibility & contrast

On white

9.41
#2E4380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2E4380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4380
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4380#FFFFFF#000000##FFFFFF
##2E43801.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264A82
Deuteranopia (green-blind)
#18437F
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4380;
/* rgb */ color: rgb(46, 67, 128);
/* oklch */ color: oklch(39.9% 0.106 267.2);
Tailwind
colors: {
  custom: {
    50: '#6f76a5',
    500: '#2e4380',
    950: '#000000',
  },
}
SCSS
$custom: #2e4380;
$custom-light: #6f76a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4380",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 128
  },
  "hsl": {
    "h": 224.634,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39922,
    "c": 0.10587,
    "h": 267.2
  },
  "luminance": 0.06154
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E4380

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

Preview Lab → · Contrast checker → · Palette generator →

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