#2E4AAB#2E4AAB

#2E4AAB is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.7% C 0.159 H 267.4°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#2E4AAB
RGBrgb(46, 74, 171)
HSLhsl(227, 58%, 43%)
HSVhsv(227, 73%, 67%)
CMYKcmyk(73.1%, 56.7%, 0%, 32.9%)
CIE-LABlab(34.84, 23.97, -55.07)
CIE-LCHlch(34.84, 60.06, 293.52°)
OKLaboklab(44.72% -0.0073 -0.1587)
OKLCHoklch(44.72% 0.159 267.4)
XYZxyz(10.9236, 8.4175, 39.5692)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4AAB #AB8F2E
analogous
#2E89AB #2E4AAB #502EAB
triadic
#2E4AAB #AB2E4A #4AAB2E
tetradic
#2E4AAB #AB2E89 #AB8F2E #2EAB50
square
#2E4AAB #AB2E89 #AB8F2E #2EAB50
split-complementary
#2E4AAB #AB502E #89AB2E
monochromatic
#14204B #21357B #2E4AAB #4866CE #798FDB

Accessibility & contrast

On white

7.82
#2E4AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2E4AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4AAB
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4AAB#FFFFFF#000000##FFFFFF
##2E4AAB1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e4aab;
/* rgb */ color: rgb(46, 74, 171);
/* oklch */ color: oklch(44.7% 0.159 267.4);
Tailwind
colors: {
  custom: {
    50: '#787cc5',
    500: '#2e4aab',
    950: '#000000',
  },
}
SCSS
$custom: #2e4aab;
$custom-light: #787cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4aab",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 171
  },
  "hsl": {
    "h": 226.56,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4472,
    "c": 0.1589,
    "h": 267.4
  },
  "luminance": 0.08419
}

Semantic roles & 50–950 ramp

primary
#2E4AAB
secondary
#C3B172
accent
#BE47E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E4AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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