#2C4E92#2C4E92

#2C4E92 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.6% C 0.119 H 262.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#2C4E92
RGBrgb(44, 78, 146)
HSLhsl(220, 54%, 37%)
HSVhsv(220, 70%, 57%)
CMYKcmyk(69.9%, 46.6%, 0%, 42.7%)
CIE-LABlab(34.10, 11.50, -41.21)
CIE-LCHlch(34.10, 42.78, 285.60°)
OKLaboklab(43.58% -0.0154 -0.1179)
OKLCHoklch(43.58% 0.119 262.5)
XYZxyz(8.9496, 8.0587, 28.2724)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E92 #92702C
analogous
#2C8192 #2C4E92 #3D2C92
triadic
#2C4E92 #922C4E #4E922C
tetradic
#2C4E92 #922C81 #92702C #2C923D
square
#2C4E92 #922C81 #92702C #2C923D
split-complementary
#2C4E92 #923D2C #81922C
monochromatic
#101C34 #1E3563 #2C4E92 #3A67C1 #678BD1

Accessibility & contrast

On white

8.04
#2C4E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2C4E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E92
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E92#FFFFFF#000000##FFFFFF
##2C4E921.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5595
Deuteranopia (green-blind)
#184C91
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c4e92;
/* rgb */ color: rgb(44, 78, 146);
/* oklch */ color: oklch(43.6% 0.119 262.5);
Tailwind
colors: {
  custom: {
    50: '#727fb2',
    500: '#2c4e92',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e92;
$custom-light: #727fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e92",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 146
  },
  "hsl": {
    "h": 220,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43575,
    "c": 0.11892,
    "h": 262.5
  },
  "luminance": 0.0806
}

Semantic roles & 50–950 ramp

primary
#2C4E92
secondary
#B89B62
accent
#AC4BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C4E92

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

Preview Lab → · Contrast checker → · Palette generator →

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