#2E4AA8#2E4AA8

#2E4AA8 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.155 H 267.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#2E4AA8
RGBrgb(46, 74, 168)
HSLhsl(226, 57%, 42%)
HSVhsv(226, 73%, 66%)
CMYKcmyk(72.6%, 56%, 0%, 34.1%)
CIE-LABlab(34.61, 22.84, -53.65)
CIE-LCHlch(34.61, 58.31, 293.06°)
OKLaboklab(44.48% -0.0075 -0.1546)
OKLCHoklch(44.48% 0.155 267.2)
XYZxyz(10.6409, 8.3044, 38.0803)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4AA8 #A88C2E
analogous
#2E87A8 #2E4AA8 #4F2EA8
triadic
#2E4AA8 #A82E4A #4AA82E
tetradic
#2E4AA8 #A82E87 #A88C2E #2EA84F
square
#2E4AA8 #A82E87 #A88C2E #2EA84F
split-complementary
#2E4AA8 #A84F2E #87A82E
monochromatic
#142048 #213578 #2E4AA8 #4765CD #778DDA

Accessibility & contrast

On white

7.89
#2E4AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2E4AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4AA8
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4AA8#FFFFFF#000000##FFFFFF
##2E4AA81.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e4aa8;
/* rgb */ color: rgb(46, 74, 168);
/* oklch */ color: oklch(44.5% 0.155 267.2);
Tailwind
colors: {
  custom: {
    50: '#777cc3',
    500: '#2e4aa8',
    950: '#000000',
  },
}
SCSS
$custom: #2e4aa8;
$custom-light: #777cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4aa8",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 168
  },
  "hsl": {
    "h": 226.23,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44476,
    "c": 0.15474,
    "h": 267.2
  },
  "luminance": 0.08306
}

Semantic roles & 50–950 ramp

primary
#2E4AA8
secondary
#C2AF70
accent
#BD48E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E4AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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