#2E4BB6#2E4BB6

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

Color values

HEX#2E4BB6
RGBrgb(46, 75, 182)
HSLhsl(227, 60%, 45%)
HSVhsv(227, 75%, 71%)
CMYKcmyk(74.7%, 58.8%, 0%, 28.6%)
CIE-LABlab(35.96, 27.43, -59.76)
CIE-LCHlch(35.96, 65.76, 294.66°)
OKLaboklab(45.83% -0.0077 -0.1725)
OKLCHoklch(45.83% 0.173 267.5)
XYZxyz(12.0834, 8.9891, 45.3451)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4BB6 #B6992E
analogous
#2E8FB6 #2E4BB6 #552EB6
triadic
#2E4BB6 #B62E4B #4BB62E
tetradic
#2E4BB6 #B62E8F #B6992E #2EB655
square
#2E4BB6 #B62E8F #B6992E #2EB655
split-complementary
#2E4BB6 #B6552E #8FB62E
monochromatic
#152354 #223785 #2E4BB6 #4F6BD2 #8094DF

Accessibility & contrast

On white

7.51
#2E4BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2E4BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4BB6
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4BB6#FFFFFF#000000##FFFFFF
##2E4BB61.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4bb6;
/* rgb */ color: rgb(46, 75, 182);
/* oklch */ color: oklch(45.8% 0.173 267.5);
Tailwind
colors: {
  custom: {
    50: '#7a7ccd',
    500: '#2e4bb6',
    950: '#000000',
  },
}
SCSS
$custom: #2e4bb6;
$custom-light: #7a7ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4bb6",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 182
  },
  "hsl": {
    "h": 227.206,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45832,
    "c": 0.17267,
    "h": 267.5
  },
  "luminance": 0.0899
}

Semantic roles & 50–950 ramp

primary
#2E4BB6
secondary
#C8B778
accent
#C145E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2E4BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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