#2E4EAF#2E4EAF

#2E4EAF is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.159 H 266.3°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#2E4EAF
RGBrgb(46, 78, 175)
HSLhsl(225, 58%, 43%)
HSVhsv(225, 74%, 69%)
CMYKcmyk(73.7%, 55.4%, 0%, 31.4%)
CIE-LABlab(36.22, 22.83, -55.20)
CIE-LCHlch(36.22, 59.74, 292.46°)
OKLaboklab(45.86% -0.0103 -0.1591)
OKLCHoklch(45.86% 0.159 266.3)
XYZxyz(11.5863, 9.1235, 41.6995)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4EAF #AF8F2E
analogous
#2E8EAF #2E4EAF #4E2EAF
triadic
#2E4EAF #AF2E4E #4EAF2E
tetradic
#2E4EAF #AF2E8E #AF8F2E #2EAF4E
square
#2E4EAF #AF2E8E #AF8F2E #2EAF4E
split-complementary
#2E4EAF #AF4E2E #8EAF2E
monochromatic
#15234E #21387F #2E4EAF #4B6CD0 #7B93DC

Accessibility & contrast

On white

7.43
#2E4EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4EAF
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4EAF#FFFFFF#000000##FFFFFF
##2E4EAF1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e4eaf;
/* rgb */ color: rgb(46, 78, 175);
/* oklch */ color: oklch(45.9% 0.159 266.3);
Tailwind
colors: {
  custom: {
    50: '#797fc8',
    500: '#2e4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #2e4eaf;
$custom-light: #797fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4eaf",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 225.116,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45856,
    "c": 0.15939,
    "h": 266.3
  },
  "luminance": 0.09125
}

Semantic roles & 50–950 ramp

primary
#2E4EAF
secondary
#C5B174
accent
#BB46E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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