#2E4BB7#2E4BB7

#2E4BB7 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.9% C 0.174 H 267.5°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#2E4BB7
RGBrgb(46, 75, 183)
HSLhsl(227, 60%, 45%)
HSVhsv(227, 75%, 72%)
CMYKcmyk(74.9%, 59%, 0%, 28.2%)
CIE-LABlab(36.04, 27.81, -60.22)
CIE-LCHlch(36.04, 66.33, 294.78°)
OKLaboklab(45.92% -0.0076 -0.1738)
OKLCHoklch(45.92% 0.174 267.5)
XYZxyz(12.1871, 9.0306, 45.8914)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4BB7 #B79A2E
analogous
#2E90B7 #2E4BB7 #552EB7
triadic
#2E4BB7 #B72E4B #4BB72E
tetradic
#2E4BB7 #B72E90 #B79A2E #2EB755
square
#2E4BB7 #B72E90 #B79A2E #2EB755
split-complementary
#2E4BB7 #B7552E #90B72E
monochromatic
#152355 #223786 #2E4BB7 #4F6BD3 #8094DF

Accessibility & contrast

On white

7.48
#2E4BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2E4BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4BB7
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4BB7#FFFFFF#000000##FFFFFF
##2E4BB71.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#004FB5
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e4bb7;
/* rgb */ color: rgb(46, 75, 183);
/* oklch */ color: oklch(45.9% 0.174 267.5);
Tailwind
colors: {
  custom: {
    50: '#7b7ccd',
    500: '#2e4bb7',
    950: '#000000',
  },
}
SCSS
$custom: #2e4bb7;
$custom-light: #7b7ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4bb7",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 227.299,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45917,
    "c": 0.17402,
    "h": 267.5
  },
  "luminance": 0.09032
}

Semantic roles & 50–950 ramp

primary
#2E4BB7
secondary
#C8B779
accent
#C245E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2E4BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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