#2E4F93#2E4F93

#2E4F93 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.0% C 0.118 H 263.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#2E4F93
RGBrgb(46, 79, 147)
HSLhsl(220, 52%, 38%)
HSVhsv(220, 69%, 58%)
CMYKcmyk(68.7%, 46.3%, 0%, 42.4%)
CIE-LABlab(34.56, 11.55, -41.09)
CIE-LCHlch(34.56, 42.68, 285.70°)
OKLaboklab(43.97% -0.0145 -0.1175)
OKLCHoklch(43.97% 0.118 263)
XYZxyz(9.1873, 8.2785, 28.7118)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F93 #93722E
analogous
#2E8193 #2E4F93 #3F2E93
triadic
#2E4F93 #932E4F #4F932E
tetradic
#2E4F93 #932E81 #93722E #2E933F
square
#2E4F93 #932E81 #93722E #2E933F
split-complementary
#2E4F93 #933F2E #81932E
monochromatic
#111D36 #1F3664 #2E4F93 #3D68C2 #6B8CD1

Accessibility & contrast

On white

7.91
#2E4F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2E4F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4F93
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F93#FFFFFF#000000##FFFFFF
##2E4F931.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5696
Deuteranopia (green-blind)
#1B4D92
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e4f93;
/* rgb */ color: rgb(46, 79, 147);
/* oklch */ color: oklch(44.0% 0.118 263.0);
Tailwind
colors: {
  custom: {
    50: '#737fb3',
    500: '#2e4f93',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f93;
$custom-light: #737fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f93",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 147
  },
  "hsl": {
    "h": 220.396,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43968,
    "c": 0.1184,
    "h": 263
  },
  "luminance": 0.08279
}

Semantic roles & 50–950 ramp

primary
#2E4F93
secondary
#B89D65
accent
#AD4CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E4F93

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

Preview Lab → · Contrast checker → · Palette generator →

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