#2C4A7E#2C4A7E

#2C4A7E is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.3% C 0.095 H 260.7°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#2C4A7E
RGBrgb(44, 74, 126)
HSLhsl(218, 48%, 33%)
HSVhsv(218, 65%, 49%)
CMYKcmyk(65.1%, 41.3%, 0%, 50.6%)
CIE-LABlab(31.67, 6.61, -32.80)
CIE-LCHlch(31.67, 33.46, 281.39°)
OKLaboklab(41.29% -0.0153 -0.0933)
OKLCHoklch(41.29% 0.095 260.7)
XYZxyz(7.2521, 6.9387, 20.6917)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4A7E #7E602C
analogous
#2C737E #2C4A7E #372C7E
triadic
#2C4A7E #7E2C4A #4A7E2C
tetradic
#2C4A7E #7E2C73 #7E602C #2C7E37
square
#2C4A7E #7E2C73 #7E602C #2C7E37
split-complementary
#2C4A7E #7E372C #737E2C
monochromatic
#0C1523 #1C2F51 #2C4A7E #3C65AB #5E84C7

Accessibility & contrast

On white

8.79
#2C4A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2C4A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4A7E
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4A7E#FFFFFF#000000##FFFFFF
##2C4A7E1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334F80
Deuteranopia (green-blind)
#27477D
Tritanopia (blue-blind)
#00565E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c4a7e;
/* rgb */ color: rgb(44, 74, 126);
/* oklch */ color: oklch(41.3% 0.095 260.7);
Tailwind
colors: {
  custom: {
    50: '#6e7ca4',
    500: '#2c4a7e',
    950: '#000000',
  },
}
SCSS
$custom: #2c4a7e;
$custom-light: #6e7ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4a7e",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 126
  },
  "hsl": {
    "h": 218.049,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41294,
    "c": 0.09454,
    "h": 260.7
  },
  "luminance": 0.06939
}

Semantic roles & 50–950 ramp

primary
#2C4A7E
secondary
#AD8E59
accent
#A650D8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2C4A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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