#2E4CA9#2E4CA9

#2E4CA9 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.154 H 266.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#2E4CA9
RGBrgb(46, 76, 169)
HSLhsl(225, 57%, 42%)
HSVhsv(225, 73%, 66%)
CMYKcmyk(72.8%, 55%, 0%, 33.7%)
CIE-LABlab(35.23, 21.89, -53.25)
CIE-LCHlch(35.23, 57.57, 292.34°)
OKLaboklab(44.97% -0.0091 -0.1533)
OKLCHoklch(44.97% 0.154 266.6)
XYZxyz(10.8701, 8.6132, 38.6181)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4CA9 #A98B2E
analogous
#2E89A9 #2E4CA9 #4E2EA9
triadic
#2E4CA9 #A92E4C #4CA92E
tetradic
#2E4CA9 #A92E89 #A98B2E #2EA94E
square
#2E4CA9 #A92E89 #A98B2E #2EA94E
split-complementary
#2E4CA9 #A94E2E #89A92E
monochromatic
#142149 #213679 #2E4CA9 #4768CD #778FDA

Accessibility & contrast

On white

7.71
#2E4CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2E4CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4CA9
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4CA9#FFFFFF#000000##FFFFFF
##2E4CA91.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4ca9;
/* rgb */ color: rgb(46, 76, 169);
/* oklch */ color: oklch(45.0% 0.154 266.6);
Tailwind
colors: {
  custom: {
    50: '#777dc3',
    500: '#2e4ca9',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ca9;
$custom-light: #777dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ca9",
  "rgb": {
    "r": 46,
    "g": 76,
    "b": 169
  },
  "hsl": {
    "h": 225.366,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44966,
    "c": 0.1536,
    "h": 266.6
  },
  "luminance": 0.08614
}

Semantic roles & 50–950 ramp

primary
#2E4CA9
secondary
#C2AE71
accent
#BB47E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E4CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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