#2E4F8F#2E4F8F

#2E4F8F is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.7% C 0.113 H 262.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2E4F8F
RGBrgb(46, 79, 143)
HSLhsl(220, 51%, 37%)
HSVhsv(220, 68%, 56%)
CMYKcmyk(67.8%, 44.8%, 0%, 43.9%)
CIE-LABlab(34.30, 10.04, -39.06)
CIE-LCHlch(34.30, 40.33, 284.42°)
OKLaboklab(43.69% -0.0152 -0.1115)
OKLCHoklch(43.69% 0.113 262.2)
XYZxyz(8.8789, 8.1551, 27.0875)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F8F #8F6E2E
analogous
#2E808F #2E4F8F #3E2E8F
triadic
#2E4F8F #8F2E4F #4F8F2E
tetradic
#2E4F8F #8F2E80 #8F6E2E #2E8F3E
square
#2E4F8F #8F2E80 #8F6E2E #2E8F3E
split-complementary
#2E4F8F #8F3E2E #808F2E
monochromatic
#101C32 #1F3561 #2E4F8F #3D69BD #698BCF

Accessibility & contrast

On white

7.98
#2E4F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2E4F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4F8F
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F8F#FFFFFF#000000##FFFFFF
##2E4F8F1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315591
Deuteranopia (green-blind)
#204D8E
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e4f8f;
/* rgb */ color: rgb(46, 79, 143);
/* oklch */ color: oklch(43.7% 0.113 262.2);
Tailwind
colors: {
  custom: {
    50: '#727fb0',
    500: '#2e4f8f',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f8f;
$custom-light: #727fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f8f",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 143
  },
  "hsl": {
    "h": 219.588,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43692,
    "c": 0.11258,
    "h": 262.2
  },
  "luminance": 0.08156
}

Semantic roles & 50–950 ramp

primary
#2E4F8F
secondary
#B69A63
accent
#AB4DDB
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #2E4F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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