#2E4D8B#2E4D8B

#2E4D8B is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.0% C 0.109 H 262.7°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#2E4D8B
RGBrgb(46, 77, 139)
HSLhsl(220, 50%, 36%)
HSVhsv(220, 67%, 55%)
CMYKcmyk(66.9%, 44.6%, 0%, 45.5%)
CIE-LABlab(33.46, 9.87, -37.96)
CIE-LCHlch(33.46, 39.22, 284.57°)
OKLaboklab(42.96% -0.0139 -0.1083)
OKLCHoklch(42.96% 0.109 262.7)
XYZxyz(8.4392, 7.7519, 25.4726)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D8B #8B6C2E
analogous
#2E7C8B #2E4D8B #3E2E8B
triadic
#2E4D8B #8B2E4D #4D8B2E
tetradic
#2E4D8B #8B2E7C #8B6C2E #2E8B3E
square
#2E4D8B #8B2E7C #8B6C2E #2E8B3E
split-complementary
#2E4D8B #8B3E2E #7C8B2E
monochromatic
#101A2F #1F345D #2E4D8B #3D66B9 #6789CD

Accessibility & contrast

On white

8.23
#2E4D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2E4D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4D8B
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D8B#FFFFFF#000000##FFFFFF
##2E4D8B1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538D
Deuteranopia (green-blind)
#214B8A
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e4d8b;
/* rgb */ color: rgb(46, 77, 139);
/* oklch */ color: oklch(43.0% 0.109 262.7);
Tailwind
colors: {
  custom: {
    50: '#717ead',
    500: '#2e4d8b',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d8b;
$custom-light: #717ead;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d8b",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 139
  },
  "hsl": {
    "h": 220,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42962,
    "c": 0.10923,
    "h": 262.7
  },
  "luminance": 0.07753
}

Semantic roles & 50–950 ramp

primary
#2E4D8B
secondary
#B39861
accent
#AB4EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2E4D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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