#2E4E8F#2E4E8F

#2E4E8F is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.5% C 0.114 H 262.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#2E4E8F
RGBrgb(46, 78, 143)
HSLhsl(220, 51%, 37%)
HSVhsv(220, 68%, 56%)
CMYKcmyk(67.8%, 45.5%, 0%, 43.9%)
CIE-LABlab(34.01, 10.71, -39.53)
CIE-LCHlch(34.01, 40.95, 285.16°)
OKLaboklab(43.46% -0.0142 -0.1129)
OKLCHoklch(43.46% 0.114 262.8)
XYZxyz(8.8073, 8.0119, 27.0636)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E8F #8F6F2E
analogous
#2E7F8F #2E4E8F #3E2E8F
triadic
#2E4E8F #8F2E4E #4E8F2E
tetradic
#2E4E8F #8F2E7F #8F6F2E #2E8F3E
square
#2E4E8F #8F2E7F #8F6F2E #2E8F3E
split-complementary
#2E4E8F #8F3E2E #7F8F2E
monochromatic
#101B32 #1F3561 #2E4E8F #3D67BD #698ACF

Accessibility & contrast

On white

8.07
#2E4E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2E4E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E8F
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E8F#FFFFFF#000000##FFFFFF
##2E4E8F1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5591
Deuteranopia (green-blind)
#1E4C8E
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e4e8f;
/* rgb */ color: rgb(46, 78, 143);
/* oklch */ color: oklch(43.5% 0.114 262.8);
Tailwind
colors: {
  custom: {
    50: '#727fb0',
    500: '#2e4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e8f;
$custom-light: #727fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e8f",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 220.206,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43464,
    "c": 0.11383,
    "h": 262.8
  },
  "luminance": 0.08013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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