#2C4392#2C4392

#2C4392 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.133 H 267.9°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#2C4392
RGBrgb(44, 67, 146)
HSLhsl(226, 54%, 37%)
HSVhsv(226, 70%, 57%)
CMYKcmyk(69.9%, 54.1%, 0%, 42.7%)
CIE-LABlab(30.94, 18.91, -46.31)
CIE-LCHlch(30.94, 50.02, 292.22°)
OKLaboklab(41.16% -0.0049 -0.1331)
OKLCHoklch(41.16% 0.133 267.9)
XYZxyz(8.2324, 6.6243, 28.0333)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4392 #927B2C
analogous
#2C7692 #2C4392 #482C92
triadic
#2C4392 #922C43 #43922C
tetradic
#2C4392 #922C76 #927B2C #2C9248
square
#2C4392 #922C76 #927B2C #2C9248
split-complementary
#2C4392 #92482C #76922C
monochromatic
#101834 #1E2D63 #2C4392 #3A59C1 #677FD1

Accessibility & contrast

On white

9.03
#2C4392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2C4392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4392
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4392#FFFFFF#000000##FFFFFF
##2C43921.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4E95
Deuteranopia (green-blind)
#004490
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c4392;
/* rgb */ color: rgb(44, 67, 146);
/* oklch */ color: oklch(41.2% 0.133 267.9);
Tailwind
colors: {
  custom: {
    50: '#7276b3',
    500: '#2c4392',
    950: '#000000',
  },
}
SCSS
$custom: #2c4392;
$custom-light: #7276b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4392",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 146
  },
  "hsl": {
    "h": 226.471,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4116,
    "c": 0.1332,
    "h": 267.9
  },
  "luminance": 0.06625
}

Semantic roles & 50–950 ramp

primary
#2C4392
secondary
#B8A462
accent
#BC4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4392

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

Preview Lab → · Contrast checker → · Palette generator →

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