#2E4FAC#2E4FAC

#2E4FAC is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.8% C 0.154 H 265.8°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2E4FAC
RGBrgb(46, 79, 172)
HSLhsl(224, 58%, 43%)
HSVhsv(224, 73%, 67%)
CMYKcmyk(73.3%, 54.1%, 0%, 32.5%)
CIE-LABlab(36.27, 21.03, -53.34)
CIE-LCHlch(36.27, 57.34, 291.52°)
OKLaboklab(45.82% -0.0113 -0.1536)
OKLCHoklch(45.82% 0.154 265.8)
XYZxyz(11.3665, 9.1502, 40.1888)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4FAC #AC8B2E
analogous
#2E8EAC #2E4FAC #4C2EAC
triadic
#2E4FAC #AC2E4F #4FAC2E
tetradic
#2E4FAC #AC2E8E #AC8B2E #2EAC4C
square
#2E4FAC #AC2E8E #AC8B2E #2EAC4C
split-complementary
#2E4FAC #AC4C2E #8EAC2E
monochromatic
#14234B #21397C #2E4FAC #496CCE #7993DB

Accessibility & contrast

On white

7.42
#2E4FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2E4FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4FAC
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4FAC#FFFFFF#000000##FFFFFF
##2E4FAC1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065BAF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e4fac;
/* rgb */ color: rgb(46, 79, 172);
/* oklch */ color: oklch(45.8% 0.154 265.8);
Tailwind
colors: {
  custom: {
    50: '#787fc5',
    500: '#2e4fac',
    950: '#000000',
  },
}
SCSS
$custom: #2e4fac;
$custom-light: #787fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4fac",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 224.286,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45824,
    "c": 0.15397,
    "h": 265.8
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#2E4FAC
secondary
#C3AE72
accent
#B947E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E4FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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