#2E4E90#2E4E90

#2E4E90 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.5% C 0.115 H 263.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2E4E90
RGBrgb(46, 78, 144)
HSLhsl(220, 52%, 37%)
HSVhsv(220, 68%, 56%)
CMYKcmyk(68.1%, 45.8%, 0%, 43.5%)
CIE-LABlab(34.07, 11.08, -40.04)
CIE-LCHlch(34.07, 41.54, 285.48°)
OKLaboklab(43.53% -0.014 -0.1144)
OKLCHoklch(43.53% 0.115 263)
XYZxyz(8.8834, 8.0424, 27.4643)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E90 #90702E
analogous
#2E7F90 #2E4E90 #3F2E90
triadic
#2E4E90 #902E4E #4E902E
tetradic
#2E4E90 #902E7F #90702E #2E903F
square
#2E4E90 #902E7F #90702E #2E903F
split-complementary
#2E4E90 #903F2E #7F902E
monochromatic
#101C33 #1F3562 #2E4E90 #3D67BE #698BCF

Accessibility & contrast

On white

8.05
#2E4E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2E4E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E90
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E90#FFFFFF#000000##FFFFFF
##2E4E901.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5593
Deuteranopia (green-blind)
#1D4C8F
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e4e90;
/* rgb */ color: rgb(46, 78, 144);
/* oklch */ color: oklch(43.5% 0.115 263.0);
Tailwind
colors: {
  custom: {
    50: '#727fb1',
    500: '#2e4e90',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e90;
$custom-light: #727fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e90",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 144
  },
  "hsl": {
    "h": 220.408,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43534,
    "c": 0.1153,
    "h": 263
  },
  "luminance": 0.08043
}

Semantic roles & 50–950 ramp

primary
#2E4E90
secondary
#B69B64
accent
#AD4DDB
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E4E90

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

Preview Lab → · Contrast checker → · Palette generator →

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