#2E4B86#2E4B86

#2E4B86 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.2% C 0.104 H 263.0°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#2E4B86
RGBrgb(46, 75, 134)
HSLhsl(220, 49%, 35%)
HSVhsv(220, 66%, 53%)
CMYKcmyk(65.7%, 44%, 0%, 47.5%)
CIE-LABlab(32.55, 9.33, -36.33)
CIE-LCHlch(32.55, 37.51, 284.40°)
OKLaboklab(42.16% -0.0128 -0.1036)
OKLCHoklch(42.16% 0.104 263)
XYZxyz(7.9444, 7.3335, 23.5465)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B86 #86692E
analogous
#2E7786 #2E4B86 #3D2E86
triadic
#2E4B86 #862E4B #4B862E
tetradic
#2E4B86 #862E77 #86692E #2E863D
square
#2E4B86 #862E77 #86692E #2E863D
split-complementary
#2E4B86 #863D2E #77862E
monochromatic
#0F182B #1E3158 #2E4B86 #3E65B4 #6486CA

Accessibility & contrast

On white

8.51
#2E4B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4B86
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B86#FFFFFF#000000##FFFFFF
##2E4B861.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305188
Deuteranopia (green-blind)
#224985
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e4b86;
/* rgb */ color: rgb(46, 75, 134);
/* oklch */ color: oklch(42.2% 0.104 263.0);
Tailwind
colors: {
  custom: {
    50: '#707ca9',
    500: '#2e4b86',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b86;
$custom-light: #707ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b86",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 134
  },
  "hsl": {
    "h": 220.227,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42164,
    "c": 0.10439,
    "h": 263
  },
  "luminance": 0.07334
}

Semantic roles & 50–950 ramp

primary
#2E4B86
secondary
#B1965F
accent
#AB4FD8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2E4B86

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

Preview Lab → · Contrast checker → · Palette generator →

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