#2E4F92#2E4F92

#2E4F92 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.9% C 0.117 H 262.8°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#2E4F92
RGBrgb(46, 79, 146)
HSLhsl(220, 52%, 38%)
HSVhsv(220, 68%, 57%)
CMYKcmyk(68.5%, 45.9%, 0%, 42.7%)
CIE-LABlab(34.49, 11.17, -40.58)
CIE-LCHlch(34.49, 42.09, 285.40°)
OKLaboklab(43.9% -0.0147 -0.116)
OKLCHoklch(43.9% 0.117 262.8)
XYZxyz(9.1092, 8.2472, 28.3004)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F92 #92712E
analogous
#2E8192 #2E4F92 #3F2E92
triadic
#2E4F92 #922E4F #4F922E
tetradic
#2E4F92 #922E81 #92712E #2E923F
square
#2E4F92 #922E81 #92712E #2E923F
split-complementary
#2E4F92 #923F2E #81922E
monochromatic
#111D35 #1F3663 #2E4F92 #3D68C1 #6A8CD0

Accessibility & contrast

On white

7.93
#2E4F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2E4F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4F92
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F92#FFFFFF#000000##FFFFFF
##2E4F921.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5695
Deuteranopia (green-blind)
#1C4D91
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e4f92;
/* rgb */ color: rgb(46, 79, 146);
/* oklch */ color: oklch(43.9% 0.117 262.8);
Tailwind
colors: {
  custom: {
    50: '#727fb2',
    500: '#2e4f92',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f92;
$custom-light: #727fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f92",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 146
  },
  "hsl": {
    "h": 220.2,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43899,
    "c": 0.11694,
    "h": 262.8
  },
  "luminance": 0.08248
}

Semantic roles & 50–950 ramp

primary
#2E4F92
secondary
#B79C65
accent
#AC4CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E4F92

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

Preview Lab → · Contrast checker → · Palette generator →

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