#2E4580#2E4580

#2E4580 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.4% C 0.103 H 265.9°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#2E4580
RGBrgb(46, 69, 128)
HSLhsl(223, 47%, 34%)
HSVhsv(223, 64%, 50%)
CMYKcmyk(64.1%, 46.1%, 0%, 49.8%)
CIE-LABlab(30.39, 11.12, -36.08)
CIE-LCHlch(30.39, 37.75, 287.13°)
OKLaboklab(40.38% -0.0073 -0.1029)
OKLCHoklch(40.38% 0.103 265.9)
XYZxyz(7.1498, 6.3950, 21.2755)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4580 #80692E
analogous
#2E6E80 #2E4580 #402E80
triadic
#2E4580 #802E45 #45802E
tetradic
#2E4580 #802E6E #80692E #2E8040
square
#2E4580 #802E6E #80692E #2E8040
split-complementary
#2E4580 #80402E #6E802E
monochromatic
#0E1426 #1E2D53 #2E4580 #3E5DAD #627EC7

Accessibility & contrast

On white

9.21
#2E4580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2E4580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4580
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4580#FFFFFF#000000##FFFFFF
##2E45801.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294C82
Deuteranopia (green-blind)
#1D447F
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e4580;
/* rgb */ color: rgb(46, 69, 128);
/* oklch */ color: oklch(40.4% 0.103 265.9);
Tailwind
colors: {
  custom: {
    50: '#6f78a5',
    500: '#2e4580',
    950: '#000000',
  },
}
SCSS
$custom: #2e4580;
$custom-light: #6f78a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4580",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 128
  },
  "hsl": {
    "h": 223.171,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40376,
    "c": 0.1032,
    "h": 265.9
  },
  "luminance": 0.06396
}

Semantic roles & 50–950 ramp

primary
#2E4580
secondary
#AD975D
accent
#B151D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2E4580

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

Preview Lab → · Contrast checker → · Palette generator →

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