#2E4E8B#2E4E8B

#2E4E8B is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.2% C 0.108 H 262.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#2E4E8B
RGBrgb(46, 78, 139)
HSLhsl(219, 50%, 36%)
HSVhsv(219, 67%, 55%)
CMYKcmyk(66.9%, 43.9%, 0%, 45.5%)
CIE-LABlab(33.76, 9.20, -37.48)
CIE-LCHlch(33.76, 38.60, 283.80°)
OKLaboklab(43.19% -0.015 -0.1069)
OKLCHoklch(43.19% 0.108 262)
XYZxyz(8.5097, 7.8929, 25.4961)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E8B #8B6B2E
analogous
#2E7D8B #2E4E8B #3D2E8B
triadic
#2E4E8B #8B2E4E #4E8B2E
tetradic
#2E4E8B #8B2E7D #8B6B2E #2E8B3D
square
#2E4E8B #8B2E7D #8B6B2E #2E8B3D
split-complementary
#2E4E8B #8B3D2E #7D8B2E
monochromatic
#101A2F #1F345D #2E4E8B #3D68B9 #678ACD

Accessibility & contrast

On white

8.14
#2E4E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2E4E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E8B
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E8B#FFFFFF#000000##FFFFFF
##2E4E8B1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548D
Deuteranopia (green-blind)
#234B8A
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e4e8b;
/* rgb */ color: rgb(46, 78, 139);
/* oklch */ color: oklch(43.2% 0.108 262.0);
Tailwind
colors: {
  custom: {
    50: '#717fad',
    500: '#2e4e8b',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e8b;
$custom-light: #717fad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e8b",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 139
  },
  "hsl": {
    "h": 219.355,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43192,
    "c": 0.10797,
    "h": 262
  },
  "luminance": 0.07894
}

Semantic roles & 50–950 ramp

primary
#2E4E8B
secondary
#B39761
accent
#AA4EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E4E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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