#2E4F90#2E4F90

#2E4F90 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.8% C 0.114 H 262.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#2E4F90
RGBrgb(46, 79, 144)
HSLhsl(220, 52%, 37%)
HSVhsv(220, 68%, 56%)
CMYKcmyk(68.1%, 45.1%, 0%, 43.5%)
CIE-LABlab(34.37, 10.42, -39.56)
CIE-LCHlch(34.37, 40.91, 284.75°)
OKLaboklab(43.76% -0.015 -0.113)
OKLCHoklch(43.76% 0.114 262.4)
XYZxyz(8.9550, 8.1856, 27.4882)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F90 #906F2E
analogous
#2E8090 #2E4F90 #3E2E90
triadic
#2E4F90 #902E4F #4F902E
tetradic
#2E4F90 #902E80 #906F2E #2E903E
square
#2E4F90 #902E80 #906F2E #2E903E
split-complementary
#2E4F90 #903E2E #80902E
monochromatic
#101C33 #1F3662 #2E4F90 #3D68BE #698CCF

Accessibility & contrast

On white

7.96
#2E4F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2E4F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4F90
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F90#FFFFFF#000000##FFFFFF
##2E4F901.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305692
Deuteranopia (green-blind)
#1F4D8F
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e4f90;
/* rgb */ color: rgb(46, 79, 144);
/* oklch */ color: oklch(43.8% 0.114 262.4);
Tailwind
colors: {
  custom: {
    50: '#727fb1',
    500: '#2e4f90',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f90;
$custom-light: #727fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f90",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 144
  },
  "hsl": {
    "h": 219.796,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43761,
    "c": 0.11403,
    "h": 262.4
  },
  "luminance": 0.08186
}

Semantic roles & 50–950 ramp

primary
#2E4F90
secondary
#B69A64
accent
#AB4DDB
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E4F90

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

Preview Lab → · Contrast checker → · Palette generator →

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