#2C4F92#2C4F92

#2C4F92 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.8% C 0.118 H 262.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#2C4F92
RGBrgb(44, 79, 146)
HSLhsl(219, 54%, 37%)
HSVhsv(219, 70%, 57%)
CMYKcmyk(69.9%, 45.9%, 0%, 42.7%)
CIE-LABlab(34.40, 10.83, -40.73)
CIE-LCHlch(34.40, 42.15, 284.90°)
OKLaboklab(43.8% -0.0164 -0.1165)
OKLCHoklch(43.8% 0.118 262)
XYZxyz(9.0212, 8.2019, 28.2962)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4F92 #926F2C
analogous
#2C8292 #2C4F92 #3C2C92
triadic
#2C4F92 #922C4F #4F922C
tetradic
#2C4F92 #922C82 #926F2C #2C923C
square
#2C4F92 #922C82 #926F2C #2C923C
split-complementary
#2C4F92 #923C2C #82922C
monochromatic
#101C34 #1E3663 #2C4F92 #3A68C1 #678CD1

Accessibility & contrast

On white

7.95
#2C4F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2C4F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4F92
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4F92#FFFFFF#000000##FFFFFF
##2C4F921.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5695
Deuteranopia (green-blind)
#1B4D91
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c4f92;
/* rgb */ color: rgb(44, 79, 146);
/* oklch */ color: oklch(43.8% 0.118 262.0);
Tailwind
colors: {
  custom: {
    50: '#717fb2',
    500: '#2c4f92',
    950: '#000000',
  },
}
SCSS
$custom: #2c4f92;
$custom-light: #717fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4f92",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 146
  },
  "hsl": {
    "h": 219.412,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43802,
    "c": 0.11766,
    "h": 262
  },
  "luminance": 0.08203
}

Semantic roles & 50–950 ramp

primary
#2C4F92
secondary
#B89A62
accent
#AB4BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C4F92

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

Preview Lab → · Contrast checker → · Palette generator →

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