#2E4F8D#2E4F8D

#2E4F8D is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.6% C 0.110 H 261.8°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2E4F8D
RGBrgb(46, 79, 141)
HSLhsl(219, 51%, 37%)
HSVhsv(219, 67%, 55%)
CMYKcmyk(67.4%, 44%, 0%, 44.7%)
CIE-LABlab(34.18, 9.29, -38.03)
CIE-LCHlch(34.18, 39.15, 283.73°)
OKLaboklab(43.56% -0.0156 -0.1085)
OKLCHoklch(43.56% 0.11 261.8)
XYZxyz(8.7287, 8.0951, 26.2966)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F8D #8D6C2E
analogous
#2E7F8D #2E4F8D #3D2E8D
triadic
#2E4F8D #8D2E4F #4F8D2E
tetradic
#2E4F8D #8D2E7F #8D6C2E #2E8D3D
square
#2E4F8D #8D2E7F #8D6C2E #2E8D3D
split-complementary
#2E4F8D #8D3D2E #7F8D2E
monochromatic
#101B31 #1F355F #2E4F8D #3D69BB #688BCE

Accessibility & contrast

On white

8.02
#2E4F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2E4F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4F8D
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F8D#FFFFFF#000000##FFFFFF
##2E4F8D1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32558F
Deuteranopia (green-blind)
#234C8C
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e4f8d;
/* rgb */ color: rgb(46, 79, 141);
/* oklch */ color: oklch(43.6% 0.110 261.8);
Tailwind
colors: {
  custom: {
    50: '#717faf',
    500: '#2e4f8d',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f8d;
$custom-light: #717faf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f8d",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 219.158,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43557,
    "c": 0.10965,
    "h": 261.8
  },
  "luminance": 0.08096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E4F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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