#2E4FBC#2E4FBC

#2E4FBC is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.176 H 266.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#2E4FBC
RGBrgb(46, 79, 188)
HSLhsl(226, 61%, 46%)
HSVhsv(226, 76%, 74%)
CMYKcmyk(75.5%, 58%, 0%, 26.3%)
CIE-LABlab(37.49, 27.05, -60.81)
CIE-LCHlch(37.49, 66.56, 293.98°)
OKLaboklab(47.12% -0.0103 -0.1755)
OKLCHoklch(47.12% 0.176 266.6)
XYZxyz(12.9966, 9.8022, 48.7743)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4FBC #BC9B2E
analogous
#2E96BC #2E4FBC #542EBC
triadic
#2E4FBC #BC2E4F #4FBC2E
tetradic
#2E4FBC #BC2E96 #BC9B2E #2EBC54
square
#2E4FBC #BC2E96 #BC9B2E #2EBC54
split-complementary
#2E4FBC #BC542E #96BC2E
monochromatic
#16265A #223A8B #2E4FBC #5271D5 #8499E1

Accessibility & contrast

On white

7.09
#2E4FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2E4FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4FBC
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4FBC#FFFFFF#000000##FFFFFF
##2E4FBC1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e4fbc;
/* rgb */ color: rgb(46, 79, 188);
/* oklch */ color: oklch(47.1% 0.176 266.6);
Tailwind
colors: {
  custom: {
    50: '#7c7fd1',
    500: '#2e4fbc',
    950: '#000000',
  },
}
SCSS
$custom: #2e4fbc;
$custom-light: #7c7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4fbc",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 226.056,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47119,
    "c": 0.17583,
    "h": 266.6
  },
  "luminance": 0.09804
}

Semantic roles & 50–950 ramp

primary
#2E4FBC
secondary
#CAB87C
accent
#BF44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2E4FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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