#2E4FBD#2E4FBD

#2E4FBD is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.177 H 266.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2E4FBD
RGBrgb(46, 79, 189)
HSLhsl(226, 61%, 46%)
HSVhsv(226, 76%, 74%)
CMYKcmyk(75.7%, 58.2%, 0%, 25.9%)
CIE-LABlab(37.56, 27.43, -61.27)
CIE-LCHlch(37.56, 67.13, 294.12°)
OKLaboklab(47.2% -0.0103 -0.1769)
OKLCHoklch(47.2% 0.177 266.7)
XYZxyz(13.1048, 9.8455, 49.3440)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4FBD #BD9C2E
analogous
#2E96BD #2E4FBD #542EBD
triadic
#2E4FBD #BD2E4F #4FBD2E
tetradic
#2E4FBD #BD2E96 #BD9C2E #2EBD54
square
#2E4FBD #BD2E96 #BD9C2E #2EBD54
split-complementary
#2E4FBD #BD542E #96BD2E
monochromatic
#16265B #223A8C #2E4FBD #5371D5 #849AE1

Accessibility & contrast

On white

7.07
#2E4FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2E4FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4FBD
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4FBD#FFFFFF#000000##FFFFFF
##2E4FBD1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e4fbd;
/* rgb */ color: rgb(46, 79, 189);
/* oklch */ color: oklch(47.2% 0.177 266.7);
Tailwind
colors: {
  custom: {
    50: '#7c7fd2',
    500: '#2e4fbd',
    950: '#000000',
  },
}
SCSS
$custom: #2e4fbd;
$custom-light: #7c7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4fbd",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 226.154,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47202,
    "c": 0.17717,
    "h": 266.7
  },
  "luminance": 0.09847
}

Semantic roles & 50–950 ramp

primary
#2E4FBD
secondary
#CAB87C
accent
#BF44E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2E4FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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