#2E4FAD#2E4FAD

#2E4FAD is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.155 H 265.9°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#2E4FAD
RGBrgb(46, 79, 173)
HSLhsl(224, 58%, 43%)
HSVhsv(224, 73%, 68%)
CMYKcmyk(73.4%, 54.3%, 0%, 32.2%)
CIE-LABlab(36.35, 21.41, -53.82)
CIE-LCHlch(36.35, 57.92, 291.69°)
OKLaboklab(45.9% -0.0112 -0.155)
OKLCHoklch(45.9% 0.155 265.9)
XYZxyz(11.4629, 9.1887, 40.6965)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4FAD #AD8C2E
analogous
#2E8FAD #2E4FAD #4C2EAD
triadic
#2E4FAD #AD2E4F #4FAD2E
tetradic
#2E4FAD #AD2E8F #AD8C2E #2EAD4C
square
#2E4FAD #AD2E8F #AD8C2E #2EAD4C
split-complementary
#2E4FAD #AD4C2E #8FAD2E
monochromatic
#14234C #21397D #2E4FAD #496CCF #7A93DC

Accessibility & contrast

On white

7.40
#2E4FAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2E4FAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4FAD
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4FAD#FFFFFF#000000##FFFFFF
##2E4FAD1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035CB0
Deuteranopia (green-blind)
#0050AB
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e4fad;
/* rgb */ color: rgb(46, 79, 173);
/* oklch */ color: oklch(45.9% 0.155 265.9);
Tailwind
colors: {
  custom: {
    50: '#787fc6',
    500: '#2e4fad',
    950: '#000000',
  },
}
SCSS
$custom: #2e4fad;
$custom-light: #787fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4fad",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 173
  },
  "hsl": {
    "h": 224.409,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45903,
    "c": 0.15536,
    "h": 265.9
  },
  "luminance": 0.0919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E4FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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