#2E4579#2E4579

#2E4579 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.9% C 0.093 H 264.6°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#2E4579
RGBrgb(46, 69, 121)
HSLhsl(222, 45%, 33%)
HSVhsv(222, 62%, 47%)
CMYKcmyk(62%, 43%, 0%, 52.5%)
CIE-LABlab(29.95, 8.52, -32.40)
CIE-LCHlch(29.95, 33.50, 284.73°)
OKLaboklab(39.9% -0.0087 -0.0921)
OKLCHoklch(39.9% 0.093 264.6)
XYZxyz(6.7048, 6.2170, 18.9321)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4579 #79622E
analogous
#2E6A79 #2E4579 #3C2E79
triadic
#2E4579 #792E45 #45792E
tetradic
#2E4579 #792E6A #79622E #2E793C
square
#2E4579 #792E6A #79622E #2E793C
split-complementary
#2E4579 #793C2E #6A792E
monochromatic
#0C1220 #1D2C4D #2E4579 #3F5EA5 #5F7EC2

Accessibility & contrast

On white

9.36
#2E4579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2E4579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4579
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4579#FFFFFF#000000##FFFFFF
##2E45791.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4A7B
Deuteranopia (green-blind)
#244378
Tritanopia (blue-blind)
#005159
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e4579;
/* rgb */ color: rgb(46, 69, 121);
/* oklch */ color: oklch(39.9% 0.093 264.6);
Tailwind
colors: {
  custom: {
    50: '#6e78a0',
    500: '#2e4579',
    950: '#000000',
  },
}
SCSS
$custom: #2e4579;
$custom-light: #6e78a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4579",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 121
  },
  "hsl": {
    "h": 221.6,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39901,
    "c": 0.09255,
    "h": 264.6
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#2E4579
secondary
#A9915A
accent
#AD53D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #2E4579

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

Preview Lab → · Contrast checker → · Palette generator →

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