#2E4BAB#2E4BAB

#2E4BAB is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.9% C 0.158 H 267.0°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#2E4BAB
RGBrgb(46, 75, 171)
HSLhsl(226, 58%, 43%)
HSVhsv(226, 73%, 67%)
CMYKcmyk(73.1%, 56.1%, 0%, 32.9%)
CIE-LABlab(35.11, 23.31, -54.63)
CIE-LCHlch(35.11, 59.40, 293.10°)
OKLaboklab(44.92% -0.0081 -0.1574)
OKLCHoklch(44.92% 0.158 267)
XYZxyz(10.9909, 8.5521, 39.5917)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4BAB #AB8E2E
analogous
#2E8AAB #2E4BAB #4F2EAB
triadic
#2E4BAB #AB2E4B #4BAB2E
tetradic
#2E4BAB #AB2E8A #AB8E2E #2EAB4F
square
#2E4BAB #AB2E8A #AB8E2E #2EAB4F
split-complementary
#2E4BAB #AB4F2E #8AAB2E
monochromatic
#14214B #21367B #2E4BAB #4867CE #798FDB

Accessibility & contrast

On white

7.75
#2E4BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2E4BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4BAB
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4BAB#FFFFFF#000000##FFFFFF
##2E4BAB1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e4bab;
/* rgb */ color: rgb(46, 75, 171);
/* oklch */ color: oklch(44.9% 0.158 267.0);
Tailwind
colors: {
  custom: {
    50: '#787cc5',
    500: '#2e4bab',
    950: '#000000',
  },
}
SCSS
$custom: #2e4bab;
$custom-light: #787cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4bab",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 171
  },
  "hsl": {
    "h": 226.08,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44922,
    "c": 0.15764,
    "h": 267
  },
  "luminance": 0.08553
}

Semantic roles & 50–950 ramp

primary
#2E4BAB
secondary
#C3B072
accent
#BD47E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E4BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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