#2E4479#2E4479

#2E4479 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.7% C 0.094 H 265.4°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#2E4479
RGBrgb(46, 68, 121)
HSLhsl(222, 45%, 33%)
HSVhsv(222, 62%, 47%)
CMYKcmyk(62%, 43.8%, 0%, 52.5%)
CIE-LABlab(29.65, 9.20, -32.88)
CIE-LCHlch(29.65, 34.14, 285.62°)
OKLaboklab(39.67% -0.0076 -0.0936)
OKLCHoklch(39.67% 0.094 265.4)
XYZxyz(6.6438, 6.0950, 18.9118)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4479 #79632E
analogous
#2E6979 #2E4479 #3D2E79
triadic
#2E4479 #792E44 #44792E
tetradic
#2E4479 #792E69 #79632E #2E793D
square
#2E4479 #792E69 #79632E #2E793D
split-complementary
#2E4479 #793D2E #69792E
monochromatic
#0C1220 #1D2B4D #2E4479 #3F5DA5 #5F7CC2

Accessibility & contrast

On white

9.46
#2E4479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2E4479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4479
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4479#FFFFFF#000000##FFFFFF
##2E44791.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7B
Deuteranopia (green-blind)
#224378
Tritanopia (blue-blind)
#005058
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4479;
/* rgb */ color: rgb(46, 68, 121);
/* oklch */ color: oklch(39.7% 0.094 265.4);
Tailwind
colors: {
  custom: {
    50: '#6e77a0',
    500: '#2e4479',
    950: '#000000',
  },
}
SCSS
$custom: #2e4479;
$custom-light: #6e77a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4479",
  "rgb": {
    "r": 46,
    "g": 68,
    "b": 121
  },
  "hsl": {
    "h": 222.4,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39668,
    "c": 0.09387,
    "h": 265.4
  },
  "luminance": 0.06096
}

Semantic roles & 50–950 ramp

primary
#2E4479
secondary
#A9925A
accent
#AF53D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #2E4479

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

Preview Lab → · Contrast checker → · Palette generator →

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