#2C4D92#2C4D92

#2C4D92 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.120 H 263.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2C4D92
RGBrgb(44, 77, 146)
HSLhsl(221, 54%, 37%)
HSVhsv(221, 70%, 57%)
CMYKcmyk(69.9%, 47.3%, 0%, 42.7%)
CIE-LABlab(33.81, 12.17, -41.68)
CIE-LCHlch(33.81, 43.42, 286.28°)
OKLaboklab(43.35% -0.0144 -0.1193)
OKLCHoklch(43.35% 0.12 263.1)
XYZxyz(8.8791, 7.9177, 28.2489)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4D92 #92712C
analogous
#2C8092 #2C4D92 #3E2C92
triadic
#2C4D92 #922C4D #4D922C
tetradic
#2C4D92 #922C80 #92712C #2C923E
square
#2C4D92 #922C80 #92712C #2C923E
split-complementary
#2C4D92 #923E2C #80922C
monochromatic
#101B34 #1E3463 #2C4D92 #3A66C1 #6789D1

Accessibility & contrast

On white

8.13
#2C4D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2C4D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4D92
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4D92#FFFFFF#000000##FFFFFF
##2C4D921.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5595
Deuteranopia (green-blind)
#154B91
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c4d92;
/* rgb */ color: rgb(44, 77, 146);
/* oklch */ color: oklch(43.3% 0.120 263.1);
Tailwind
colors: {
  custom: {
    50: '#727eb2',
    500: '#2c4d92',
    950: '#000000',
  },
}
SCSS
$custom: #2c4d92;
$custom-light: #727eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4d92",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 146
  },
  "hsl": {
    "h": 220.588,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43349,
    "c": 0.12019,
    "h": 263.1
  },
  "luminance": 0.07919
}

Semantic roles & 50–950 ramp

primary
#2C4D92
secondary
#B89C62
accent
#AE4BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4D92

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

Preview Lab → · Contrast checker → · Palette generator →

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