#2E4B9B#2E4B9B

#2E4B9B is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.7% C 0.135 H 266.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#2E4B9B
RGBrgb(46, 75, 155)
HSLhsl(224, 54%, 39%)
HSVhsv(224, 70%, 61%)
CMYKcmyk(70.3%, 51.6%, 0%, 39.2%)
CIE-LABlab(33.94, 17.25, -46.93)
CIE-LCHlch(33.94, 50.00, 290.19°)
OKLaboklab(43.67% -0.0095 -0.1347)
OKLCHoklch(43.67% 0.135 266)
XYZxyz(9.5571, 7.9786, 32.0403)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B9B #9B7E2E
analogous
#2E829B #2E4B9B #482E9B
triadic
#2E4B9B #9B2E4B #4B9B2E
tetradic
#2E4B9B #9B2E82 #9B7E2E #2E9B48
square
#2E4B9B #9B2E82 #9B7E2E #2E9B48
split-complementary
#2E4B9B #9B482E #829B2E
monochromatic
#121D3D #20346C #2E4B9B #4064C6 #6F8AD4

Accessibility & contrast

On white

8.09
#2E4B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2E4B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4B9B
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B9B#FFFFFF#000000##FFFFFF
##2E4B9B1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B559E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e4b9b;
/* rgb */ color: rgb(46, 75, 155);
/* oklch */ color: oklch(43.7% 0.135 266.0);
Tailwind
colors: {
  custom: {
    50: '#747cb9',
    500: '#2e4b9b',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b9b;
$custom-light: #747cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b9b",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 155
  },
  "hsl": {
    "h": 224.037,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43668,
    "c": 0.13508,
    "h": 266
  },
  "luminance": 0.0798
}

Semantic roles & 50–950 ramp

primary
#2E4B9B
secondary
#BCA669
accent
#B64ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E4B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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