#2E4777#2E4777

#2E4777 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.2% C 0.087 H 262.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#2E4777
RGBrgb(46, 71, 119)
HSLhsl(219, 44%, 32%)
HSVhsv(219, 61%, 47%)
CMYKcmyk(61.3%, 40.3%, 0%, 53.3%)
CIE-LABlab(30.45, 6.44, -30.36)
CIE-LCHlch(30.45, 31.04, 281.97°)
OKLaboklab(40.24% -0.0116 -0.0862)
OKLCHoklch(40.24% 0.087 262.4)
XYZxyz(6.7086, 6.4187, 18.3346)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4777 #775E2E
analogous
#2E6C77 #2E4777 #3A2E77
triadic
#2E4777 #772E47 #47772E
tetradic
#2E4777 #772E6C #775E2E #2E773A
square
#2E4777 #772E6C #775E2E #2E773A
split-complementary
#2E4777 #773A2E #6C772E
monochromatic
#0C121F #1D2D4B #2E4777 #3F61A3 #5E80C1

Accessibility & contrast

On white

9.20
#2E4777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2E4777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4777
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4777#FFFFFF#000000##FFFFFF
##2E47771.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334B79
Deuteranopia (green-blind)
#294576
Tritanopia (blue-blind)
#005259
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e4777;
/* rgb */ color: rgb(46, 71, 119);
/* oklch */ color: oklch(40.2% 0.087 262.4);
Tailwind
colors: {
  custom: {
    50: '#6d799e',
    500: '#2e4777',
    950: '#000000',
  },
}
SCSS
$custom: #2e4777;
$custom-light: #6d799e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4777",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 119
  },
  "hsl": {
    "h": 219.452,
    "s": 44.242,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40243,
    "c": 0.08693,
    "h": 262.4
  },
  "luminance": 0.06419
}

Semantic roles & 50–950 ramp

primary
#2E4777
secondary
#A88D59
accent
#A854D4
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2E4777

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

Preview Lab → · Contrast checker → · Palette generator →

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