#2E4779#2E4779

#2E4779 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.4% C 0.090 H 262.9°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#2E4779
RGBrgb(46, 71, 121)
HSLhsl(220, 45%, 33%)
HSVhsv(220, 62%, 47%)
CMYKcmyk(62%, 41.3%, 0%, 52.5%)
CIE-LABlab(30.56, 7.18, -31.43)
CIE-LCHlch(30.56, 32.24, 282.86°)
OKLaboklab(40.37% -0.0111 -0.0893)
OKLCHoklch(40.37% 0.09 262.9)
XYZxyz(6.8300, 6.4672, 18.9738)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4779 #79602E
analogous
#2E6C79 #2E4779 #3A2E79
triadic
#2E4779 #792E47 #47792E
tetradic
#2E4779 #792E6C #79602E #2E793A
square
#2E4779 #792E6C #79602E #2E793A
split-complementary
#2E4779 #793A2E #6C792E
monochromatic
#0C1320 #1D2D4D #2E4779 #3F61A5 #5F80C2

Accessibility & contrast

On white

9.16
#2E4779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2E4779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4779
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4779#FFFFFF#000000##FFFFFF
##2E47791.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7B
Deuteranopia (green-blind)
#274578
Tritanopia (blue-blind)
#00525A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e4779;
/* rgb */ color: rgb(46, 71, 121);
/* oklch */ color: oklch(40.4% 0.090 262.9);
Tailwind
colors: {
  custom: {
    50: '#6e79a0',
    500: '#2e4779',
    950: '#000000',
  },
}
SCSS
$custom: #2e4779;
$custom-light: #6e79a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4779",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 121
  },
  "hsl": {
    "h": 220,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40371,
    "c": 0.08997,
    "h": 262.9
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#2E4779
secondary
#A98F5A
accent
#A953D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #2E4779

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

Preview Lab → · Contrast checker → · Palette generator →

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