#2E4CA6#2E4CA6

#2E4CA6 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.7% C 0.149 H 266.4°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#2E4CA6
RGBrgb(46, 76, 166)
HSLhsl(225, 57%, 42%)
HSVhsv(225, 72%, 65%)
CMYKcmyk(72.3%, 54.2%, 0%, 34.9%)
CIE-LABlab(35.01, 20.75, -51.81)
CIE-LCHlch(35.01, 55.81, 291.83°)
OKLaboklab(44.73% -0.0093 -0.1491)
OKLCHoklch(44.73% 0.149 266.4)
XYZxyz(10.5917, 8.5018, 37.1518)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4CA6 #A6882E
analogous
#2E88A6 #2E4CA6 #4C2EA6
triadic
#2E4CA6 #A62E4C #4CA62E
tetradic
#2E4CA6 #A62E88 #A6882E #2EA64C
square
#2E4CA6 #A62E88 #A6882E #2EA64C
split-complementary
#2E4CA6 #A64C2E #88A62E
monochromatic
#132046 #213676 #2E4CA6 #4667CC #768ED9

Accessibility & contrast

On white

7.78
#2E4CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2E4CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4CA6
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4CA6#FFFFFF#000000##FFFFFF
##2E4CA61.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0758A9
Deuteranopia (green-blind)
#004DA4
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e4ca6;
/* rgb */ color: rgb(46, 76, 166);
/* oklch */ color: oklch(44.7% 0.149 266.4);
Tailwind
colors: {
  custom: {
    50: '#777dc1',
    500: '#2e4ca6',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ca6;
$custom-light: #777dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ca6",
  "rgb": {
    "r": 46,
    "g": 76,
    "b": 166
  },
  "hsl": {
    "h": 225,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44729,
    "c": 0.1494,
    "h": 266.4
  },
  "luminance": 0.08503
}

Semantic roles & 50–950 ramp

primary
#2E4CA6
secondary
#C1AC6F
accent
#BA48E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E4CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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