#2E4E8E#2E4E8E

#2E4E8E is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.4% C 0.112 H 262.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#2E4E8E
RGBrgb(46, 78, 142)
HSLhsl(220, 51%, 37%)
HSVhsv(220, 68%, 56%)
CMYKcmyk(67.6%, 45.1%, 0%, 44.3%)
CIE-LABlab(33.95, 10.33, -39.02)
CIE-LCHlch(33.95, 40.36, 284.83°)
OKLaboklab(43.4% -0.0144 -0.1114)
OKLCHoklch(43.4% 0.112 262.6)
XYZxyz(8.7319, 7.9818, 26.6664)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E8E #8E6E2E
analogous
#2E7E8E #2E4E8E #3E2E8E
triadic
#2E4E8E #8E2E4E #4E8E2E
tetradic
#2E4E8E #8E2E7E #8E6E2E #2E8E3E
square
#2E4E8E #8E2E7E #8E6E2E #2E8E3E
split-complementary
#2E4E8E #8E3E2E #7E8E2E
monochromatic
#101B32 #1F3560 #2E4E8E #3D67BC #688ACE

Accessibility & contrast

On white

8.09
#2E4E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2E4E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E8E
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E8E#FFFFFF#000000##FFFFFF
##2E4E8E1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5590
Deuteranopia (green-blind)
#1F4C8D
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e4e8e;
/* rgb */ color: rgb(46, 78, 142);
/* oklch */ color: oklch(43.4% 0.112 262.6);
Tailwind
colors: {
  custom: {
    50: '#727faf',
    500: '#2e4e8e',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e8e;
$custom-light: #727faf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e8e",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 142
  },
  "hsl": {
    "h": 220,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43396,
    "c": 0.11238,
    "h": 262.6
  },
  "luminance": 0.07983
}

Semantic roles & 50–950 ramp

primary
#2E4E8E
secondary
#B59A63
accent
#AB4DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E4E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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