#2E4281#2E4281

#2E4281 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.8% C 0.109 H 268.0°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#2E4281
RGBrgb(46, 66, 129)
HSLhsl(226, 47%, 34%)
HSVhsv(226, 64%, 51%)
CMYKcmyk(64.3%, 48.8%, 0%, 49.4%)
CIE-LABlab(29.57, 13.53, -38.01)
CIE-LCHlch(29.57, 40.35, 289.59°)
OKLaboklab(39.77% -0.0039 -0.1087)
OKLCHoklch(39.77% 0.109 268)
XYZxyz(7.0360, 6.0616, 21.5638)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4281 #816D2E
analogous
#2E6C81 #2E4281 #442E81
triadic
#2E4281 #812E42 #42812E
tetradic
#2E4281 #812E6C #816D2E #2E8144
square
#2E4281 #812E6C #816D2E #2E8144
split-complementary
#2E4281 #81442E #6C812E
monochromatic
#0E1427 #1E2B54 #2E4281 #3E59AE #627BC7

Accessibility & contrast

On white

9.49
#2E4281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4281
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4281#FFFFFF#000000##FFFFFF
##2E42811.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A83
Deuteranopia (green-blind)
#144280
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4281;
/* rgb */ color: rgb(46, 66, 129);
/* oklch */ color: oklch(39.8% 0.109 268.0);
Tailwind
colors: {
  custom: {
    50: '#6f76a6',
    500: '#2e4281',
    950: '#000000',
  },
}
SCSS
$custom: #2e4281;
$custom-light: #6f76a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4281",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 225.542,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39769,
    "c": 0.10874,
    "h": 268
  },
  "luminance": 0.06062
}

Semantic roles & 50–950 ramp

primary
#2E4281
secondary
#AE9A5D
accent
#B751D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2E4281

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

Preview Lab → · Contrast checker → · Palette generator →

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