#2E4A9F#2E4A9F

#2E4A9F is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.142 H 266.7°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#2E4A9F
RGBrgb(46, 74, 159)
HSLhsl(225, 55%, 40%)
HSVhsv(225, 71%, 62%)
CMYKcmyk(71.1%, 53.5%, 0%, 37.6%)
CIE-LABlab(33.94, 19.44, -49.33)
CIE-LCHlch(33.94, 53.03, 291.51°)
OKLaboklab(43.76% -0.0082 -0.1418)
OKLCHoklch(43.76% 0.142 266.7)
XYZxyz(9.8313, 7.9806, 33.8165)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A9F #9F832E
analogous
#2E829F #2E4A9F #4B2E9F
triadic
#2E4A9F #9F2E4A #4A9F2E
tetradic
#2E4A9F #9F2E82 #9F832E #2E9F4B
square
#2E4A9F #9F2E82 #9F832E #2E9F4B
split-complementary
#2E4A9F #9F4B2E #829F2E
monochromatic
#131E40 #203470 #2E4A9F #4263C8 #718AD6

Accessibility & contrast

On white

8.09
#2E4A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2E4A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4A9F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4A9F#FFFFFF#000000##FFFFFF
##2E4A9F1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1055A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e4a9f;
/* rgb */ color: rgb(46, 74, 159);
/* oklch */ color: oklch(43.8% 0.142 266.7);
Tailwind
colors: {
  custom: {
    50: '#757cbc',
    500: '#2e4a9f',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a9f;
$custom-light: #757cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a9f",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 159
  },
  "hsl": {
    "h": 225.133,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43762,
    "c": 0.14209,
    "h": 266.7
  },
  "luminance": 0.07982
}

Semantic roles & 50–950 ramp

primary
#2E4A9F
secondary
#BEA96B
accent
#BA49DE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2E4A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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