#2E4C8B#2E4C8B

#2E4C8B is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.7% C 0.111 H 263.3°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#2E4C8B
RGBrgb(46, 76, 139)
HSLhsl(221, 50%, 36%)
HSVhsv(221, 67%, 55%)
CMYKcmyk(66.9%, 45.3%, 0%, 45.5%)
CIE-LABlab(33.16, 10.54, -38.43)
CIE-LCHlch(33.16, 39.85, 285.33°)
OKLaboklab(42.73% -0.0129 -0.1098)
OKLCHoklch(42.73% 0.111 263.3)
XYZxyz(8.3697, 7.6130, 25.4495)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4C8B #8B6D2E
analogous
#2E7B8B #2E4C8B #3F2E8B
triadic
#2E4C8B #8B2E4C #4C8B2E
tetradic
#2E4C8B #8B2E7B #8B6D2E #2E8B3F
square
#2E4C8B #8B2E7B #8B6D2E #2E8B3F
split-complementary
#2E4C8B #8B3F2E #7B8B2E
monochromatic
#101A2F #1F335D #2E4C8B #3D65B9 #6788CD

Accessibility & contrast

On white

8.32
#2E4C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2E4C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4C8B
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4C8B#FFFFFF#000000##FFFFFF
##2E4C8B1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E538D
Deuteranopia (green-blind)
#1F4A8A
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e4c8b;
/* rgb */ color: rgb(46, 76, 139);
/* oklch */ color: oklch(42.7% 0.111 263.3);
Tailwind
colors: {
  custom: {
    50: '#717dad',
    500: '#2e4c8b',
    950: '#000000',
  },
}
SCSS
$custom: #2e4c8b;
$custom-light: #717dad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4c8b",
  "rgb": {
    "r": 46,
    "g": 76,
    "b": 139
  },
  "hsl": {
    "h": 220.645,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42734,
    "c": 0.11051,
    "h": 263.3
  },
  "luminance": 0.07614
}

Semantic roles & 50–950 ramp

primary
#2E4C8B
secondary
#B39961
accent
#AD4EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2E4C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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