#2C4192#2C4192

#2C4192 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.136 H 268.7°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2C4192
RGBrgb(44, 65, 146)
HSLhsl(228, 54%, 37%)
HSVhsv(228, 70%, 57%)
CMYKcmyk(69.9%, 55.5%, 0%, 42.7%)
CIE-LABlab(30.38, 20.27, -47.21)
CIE-LCHlch(30.38, 51.38, 293.24°)
OKLaboklab(40.74% -0.0031 -0.1358)
OKLCHoklch(40.74% 0.136 268.7)
XYZxyz(8.1155, 6.3906, 27.9944)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4192 #927D2C
analogous
#2C7492 #2C4192 #4A2C92
triadic
#2C4192 #922C41 #41922C
tetradic
#2C4192 #922C74 #927D2C #2C924A
square
#2C4192 #922C74 #927D2C #2C924A
split-complementary
#2C4192 #924A2C #74922C
monochromatic
#101734 #1E2C63 #2C4192 #3A56C1 #677DD1

Accessibility & contrast

On white

9.22
#2C4192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2C4192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4192
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4192#FFFFFF#000000##FFFFFF
##2C41921.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024C95
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c4192;
/* rgb */ color: rgb(44, 65, 146);
/* oklch */ color: oklch(40.7% 0.136 268.7);
Tailwind
colors: {
  custom: {
    50: '#7275b3',
    500: '#2c4192',
    950: '#000000',
  },
}
SCSS
$custom: #2c4192;
$custom-light: #7275b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4192",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 146
  },
  "hsl": {
    "h": 227.647,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40738,
    "c": 0.13584,
    "h": 268.7
  },
  "luminance": 0.06391
}

Semantic roles & 50–950 ramp

primary
#2C4192
secondary
#B8A662
accent
#BF4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4192

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

Preview Lab → · Contrast checker → · Palette generator →

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