#2E4FC0#2E4FC0

#2E4FC0 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.5% C 0.181 H 266.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#2E4FC0
RGBrgb(46, 79, 192)
HSLhsl(226, 61%, 47%)
HSVhsv(226, 76%, 75%)
CMYKcmyk(76%, 58.9%, 0%, 24.7%)
CIE-LABlab(37.80, 28.55, -62.64)
CIE-LCHlch(37.80, 68.84, 294.50°)
OKLaboklab(47.45% -0.0102 -0.1809)
OKLCHoklch(47.45% 0.181 266.8)
XYZxyz(13.4338, 9.9771, 51.0767)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4FC0 #C09F2E
analogous
#2E98C0 #2E4FC0 #562EC0
triadic
#2E4FC0 #C02E4F #4FC02E
tetradic
#2E4FC0 #C02E98 #C09F2E #2EC056
square
#2E4FC0 #C02E98 #C09F2E #2EC056
split-complementary
#2E4FC0 #C0562E #98C02E
monochromatic
#16265D #223B8F #2E4FC0 #5572D6 #869BE2

Accessibility & contrast

On white

7.01
#2E4FC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2E4FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E4FC0
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4FC0#FFFFFF#000000##FFFFFF
##2E4FC01.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#0052BE
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e4fc0;
/* rgb */ color: rgb(46, 79, 192);
/* oklch */ color: oklch(47.5% 0.181 266.8);
Tailwind
colors: {
  custom: {
    50: '#7d7fd4',
    500: '#2e4fc0',
    950: '#000000',
  },
}
SCSS
$custom: #2e4fc0;
$custom-light: #7d7fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4fc0",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 226.438,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47454,
    "c": 0.18118,
    "h": 266.8
  },
  "luminance": 0.09979
}

Semantic roles & 50–950 ramp

primary
#2E4FC0
secondary
#CCBA7E
accent
#C043E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2E4FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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