#2E4D9C#2E4D9C

#2E4D9C is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.2% C 0.134 H 265.2°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#2E4D9C
RGBrgb(46, 77, 156)
HSLhsl(223, 54%, 40%)
HSVhsv(223, 71%, 61%)
CMYKcmyk(70.5%, 50.6%, 0%, 38.8%)
CIE-LABlab(34.58, 16.30, -46.50)
CIE-LCHlch(34.58, 49.28, 289.31°)
OKLaboklab(44.18% -0.0112 -0.1335)
OKLCHoklch(44.18% 0.134 265.2)
XYZxyz(9.7792, 8.2879, 32.5304)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D9C #9C7D2E
analogous
#2E849C #2E4D9C #462E9C
triadic
#2E4D9C #9C2E4D #4D9C2E
tetradic
#2E4D9C #9C2E84 #9C7D2E #2E9C46
square
#2E4D9C #9C2E84 #9C7D2E #2E9C46
split-complementary
#2E4D9C #9C462E #849C2E
monochromatic
#121E3D #20366D #2E4D9C #4066C7 #708CD5

Accessibility & contrast

On white

7.90
#2E4D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4D9C
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D9C#FFFFFF#000000##FFFFFF
##2E4D9C1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20579F
Deuteranopia (green-blind)
#004D9A
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e4d9c;
/* rgb */ color: rgb(46, 77, 156);
/* oklch */ color: oklch(44.2% 0.134 265.2);
Tailwind
colors: {
  custom: {
    50: '#757eba',
    500: '#2e4d9c',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d9c;
$custom-light: #757eba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d9c",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 156
  },
  "hsl": {
    "h": 223.091,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44175,
    "c": 0.13394,
    "h": 265.2
  },
  "luminance": 0.08289
}

Semantic roles & 50–950 ramp

primary
#2E4D9C
secondary
#BCA56A
accent
#B44ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2E4D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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