#2E4FB2#2E4FB2

#2E4FB2 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.162 H 266.2°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2E4FB2
RGBrgb(46, 79, 178)
HSLhsl(225, 59%, 44%)
HSVhsv(225, 74%, 70%)
CMYKcmyk(74.2%, 55.6%, 0%, 30.2%)
CIE-LABlab(36.72, 23.30, -56.18)
CIE-LCHlch(36.72, 60.81, 292.52°)
OKLaboklab(46.3% -0.0108 -0.1619)
OKLCHoklch(46.3% 0.162 266.2)
XYZxyz(11.9558, 9.3859, 43.2924)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4FB2 #B2912E
analogous
#2E91B2 #2E4FB2 #4F2EB2
triadic
#2E4FB2 #B22E4F #4FB22E
tetradic
#2E4FB2 #B22E91 #B2912E #2EB24F
square
#2E4FB2 #B22E91 #B2912E #2EB24F
split-complementary
#2E4FB2 #B24F2E #91B22E
monochromatic
#152451 #213981 #2E4FB2 #4C6DD1 #7D95DD

Accessibility & contrast

On white

7.30
#2E4FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2E4FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4FB2
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4FB2#FFFFFF#000000##FFFFFF
##2E4FB21.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e4fb2;
/* rgb */ color: rgb(46, 79, 178);
/* oklch */ color: oklch(46.3% 0.162 266.2);
Tailwind
colors: {
  custom: {
    50: '#797fca',
    500: '#2e4fb2',
    950: '#000000',
  },
}
SCSS
$custom: #2e4fb2;
$custom-light: #797fca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4fb2",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 225,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.463,
    "c": 0.16226,
    "h": 266.2
  },
  "luminance": 0.09387
}

Semantic roles & 50–950 ramp

primary
#2E4FB2
secondary
#C6B276
accent
#BB46E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E4FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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