#2E4F9C#2E4F9C

#2E4F9C is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.131 H 264.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#2E4F9C
RGBrgb(46, 79, 156)
HSLhsl(222, 54%, 40%)
HSVhsv(222, 71%, 61%)
CMYKcmyk(70.5%, 49.4%, 0%, 38.8%)
CIE-LABlab(35.15, 14.96, -45.58)
CIE-LCHlch(35.15, 47.98, 288.17°)
OKLaboklab(44.61% -0.0131 -0.1307)
OKLCHoklch(44.61% 0.131 264.3)
XYZxyz(9.9213, 8.5721, 32.5778)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F9C #9C7B2E
analogous
#2E869C #2E4F9C #442E9C
triadic
#2E4F9C #9C2E4F #4F9C2E
tetradic
#2E4F9C #9C2E86 #9C7B2E #2E9C44
square
#2E4F9C #9C2E86 #9C7B2E #2E9C44
split-complementary
#2E4F9C #9C442E #869C2E
monochromatic
#121F3D #20376D #2E4F9C #4069C7 #708ED5

Accessibility & contrast

On white

7.74
#2E4F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2E4F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4F9C
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F9C#FFFFFF#000000##FFFFFF
##2E4F9C1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25589F
Deuteranopia (green-blind)
#054E9A
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e4f9c;
/* rgb */ color: rgb(46, 79, 156);
/* oklch */ color: oklch(44.6% 0.131 264.3);
Tailwind
colors: {
  custom: {
    50: '#747fba',
    500: '#2e4f9c',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f9c;
$custom-light: #747fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f9c",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 156
  },
  "hsl": {
    "h": 222,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44611,
    "c": 0.13138,
    "h": 264.3
  },
  "luminance": 0.08573
}

Semantic roles & 50–950 ramp

primary
#2E4F9C
secondary
#BCA36A
accent
#B14ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E4F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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