#2E4B87#2E4B87

#2E4B87 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.2% C 0.106 H 263.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#2E4B87
RGBrgb(46, 75, 135)
HSLhsl(220, 49%, 35%)
HSVhsv(220, 66%, 53%)
CMYKcmyk(65.9%, 44.4%, 0%, 47.1%)
CIE-LABlab(32.62, 9.70, -36.85)
CIE-LCHlch(32.62, 38.11, 284.75°)
OKLaboklab(42.23% -0.0126 -0.1051)
OKLCHoklch(42.23% 0.106 263.2)
XYZxyz(8.0144, 7.3615, 23.9155)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B87 #876A2E
analogous
#2E7787 #2E4B87 #3D2E87
triadic
#2E4B87 #872E4B #4B872E
tetradic
#2E4B87 #872E77 #876A2E #2E873D
square
#2E4B87 #872E77 #876A2E #2E873D
split-complementary
#2E4B87 #873D2E #77872E
monochromatic
#0F182C #1E3259 #2E4B87 #3E64B5 #6586CA

Accessibility & contrast

On white

8.49
#2E4B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2E4B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4B87
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B87#FFFFFF#000000##FFFFFF
##2E4B871.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5189
Deuteranopia (green-blind)
#214986
Tritanopia (blue-blind)
#005962
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e4b87;
/* rgb */ color: rgb(46, 75, 135);
/* oklch */ color: oklch(42.2% 0.106 263.2);
Tailwind
colors: {
  custom: {
    50: '#707caa',
    500: '#2e4b87',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b87;
$custom-light: #707caa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b87",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 135
  },
  "hsl": {
    "h": 220.449,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42231,
    "c": 0.10587,
    "h": 263.2
  },
  "luminance": 0.07362
}

Semantic roles & 50–950 ramp

primary
#2E4B87
secondary
#B19760
accent
#AC4FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2E4B87

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

Preview Lab → · Contrast checker → · Palette generator →

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