#2E4FB9#2E4FB9

#2E4FB9 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.172 H 266.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2E4FB9
RGBrgb(46, 79, 185)
HSLhsl(226, 60%, 45%)
HSVhsv(226, 75%, 73%)
CMYKcmyk(75.1%, 57.3%, 0%, 27.5%)
CIE-LABlab(37.25, 25.93, -59.43)
CIE-LCHlch(37.25, 64.84, 293.57°)
OKLaboklab(46.87% -0.0105 -0.1715)
OKLCHoklch(46.87% 0.172 266.5)
XYZxyz(12.6766, 9.6742, 47.0888)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4FB9 #B9982E
analogous
#2E95B9 #2E4FB9 #522EB9
triadic
#2E4FB9 #B92E4F #4FB92E
tetradic
#2E4FB9 #B92E95 #B9982E #2EB952
square
#2E4FB9 #B92E95 #B9982E #2EB952
split-complementary
#2E4FB9 #B9522E #95B92E
monochromatic
#162557 #223A88 #2E4FB9 #5170D4 #8298E0

Accessibility & contrast

On white

7.15
#2E4FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2E4FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4FB9
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4FB9#FFFFFF#000000##FFFFFF
##2E4FB91.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e4fb9;
/* rgb */ color: rgb(46, 79, 185);
/* oklch */ color: oklch(46.9% 0.172 266.5);
Tailwind
colors: {
  custom: {
    50: '#7b7fcf',
    500: '#2e4fb9',
    950: '#000000',
  },
}
SCSS
$custom: #2e4fb9;
$custom-light: #7b7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4fb9",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 185
  },
  "hsl": {
    "h": 225.755,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4687,
    "c": 0.17179,
    "h": 266.5
  },
  "luminance": 0.09676
}

Semantic roles & 50–950 ramp

primary
#2E4FB9
secondary
#C9B67A
accent
#BE44E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2E4FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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