#2E4E8A#2E4E8A

#2E4E8A is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.1% C 0.107 H 261.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#2E4E8A
RGBrgb(46, 78, 138)
HSLhsl(219, 50%, 36%)
HSVhsv(219, 67%, 54%)
CMYKcmyk(66.7%, 43.5%, 0%, 45.9%)
CIE-LABlab(33.70, 8.83, -36.97)
CIE-LCHlch(33.70, 38.01, 283.43°)
OKLaboklab(43.13% -0.0152 -0.1054)
OKLCHoklch(43.13% 0.107 261.8)
XYZxyz(8.4369, 7.8638, 25.1131)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E8A #8A6A2E
analogous
#2E7C8A #2E4E8A #3C2E8A
triadic
#2E4E8A #8A2E4E #4E8A2E
tetradic
#2E4E8A #8A2E7C #8A6A2E #2E8A3C
square
#2E4E8A #8A2E7C #8A6A2E #2E8A3C
split-complementary
#2E4E8A #8A3C2E #7C8A2E
monochromatic
#0F1A2E #1F345C #2E4E8A #3D68B8 #668ACC

Accessibility & contrast

On white

8.16
#2E4E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2E4E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E8A
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E8A#FFFFFF#000000##FFFFFF
##2E4E8A1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548C
Deuteranopia (green-blind)
#244B89
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e4e8a;
/* rgb */ color: rgb(46, 78, 138);
/* oklch */ color: oklch(43.1% 0.107 261.8);
Tailwind
colors: {
  custom: {
    50: '#717fac',
    500: '#2e4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e8a;
$custom-light: #717fac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e8a",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 219.13,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43125,
    "c": 0.10651,
    "h": 261.8
  },
  "luminance": 0.07865
}

Semantic roles & 50–950 ramp

primary
#2E4E8A
secondary
#B39661
accent
#A94EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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