#2E4BA2#2E4BA2

#2E4BA2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.145 H 266.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#2E4BA2
RGBrgb(46, 75, 162)
HSLhsl(225, 56%, 41%)
HSVhsv(225, 72%, 64%)
CMYKcmyk(71.6%, 53.7%, 0%, 36.5%)
CIE-LABlab(34.44, 19.91, -50.34)
CIE-LCHlch(34.44, 54.13, 291.58°)
OKLaboklab(44.21% -0.0088 -0.1448)
OKLCHoklch(44.21% 0.145 266.5)
XYZxyz(10.1621, 8.2206, 35.2266)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4BA2 #A2852E
analogous
#2E85A2 #2E4BA2 #4B2EA2
triadic
#2E4BA2 #A22E4B #4BA22E
tetradic
#2E4BA2 #A22E85 #A2852E #2EA24B
square
#2E4BA2 #A22E85 #A2852E #2EA24B
split-complementary
#2E4BA2 #A24B2E #85A22E
monochromatic
#131F43 #203572 #2E4BA2 #4365CA #738CD7

Accessibility & contrast

On white

7.94
#2E4BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2E4BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4BA2
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4BA2#FFFFFF#000000##FFFFFF
##2E4BA21.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D57A5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e4ba2;
/* rgb */ color: rgb(46, 75, 162);
/* oklch */ color: oklch(44.2% 0.145 266.5);
Tailwind
colors: {
  custom: {
    50: '#767cbe',
    500: '#2e4ba2',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ba2;
$custom-light: #767cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ba2",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 225,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44206,
    "c": 0.14506,
    "h": 266.5
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

primary
#2E4BA2
secondary
#BFAA6D
accent
#B949DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E4BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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