#2C4193#2C4193

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

Color values

HEX#2C4193
RGBrgb(44, 65, 147)
HSLhsl(228, 54%, 37%)
HSVhsv(228, 70%, 58%)
CMYKcmyk(70.1%, 55.8%, 0%, 42.4%)
CIE-LABlab(30.45, 20.65, -47.70)
CIE-LCHlch(30.45, 51.98, 293.41°)
OKLaboklab(40.82% -0.003 -0.1372)
OKLCHoklch(40.82% 0.137 268.7)
XYZxyz(8.1937, 6.4219, 28.4058)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4193 #937E2C
analogous
#2C7593 #2C4193 #4A2C93
triadic
#2C4193 #932C41 #41932C
tetradic
#2C4193 #932C75 #937E2C #2C934A
square
#2C4193 #932C75 #937E2C #2C934A
split-complementary
#2C4193 #934A2C #75932C
monochromatic
#101735 #1E2C64 #2C4193 #3A56C2 #687DD2

Accessibility & contrast

On white

9.19
#2C4193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4193
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4193#FFFFFF#000000##FFFFFF
##2C41931.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D96
Deuteranopia (green-blind)
#004391
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c4193;
/* rgb */ color: rgb(44, 65, 147);
/* oklch */ color: oklch(40.8% 0.137 268.7);
Tailwind
colors: {
  custom: {
    50: '#7275b3',
    500: '#2c4193',
    950: '#000000',
  },
}
SCSS
$custom: #2c4193;
$custom-light: #7275b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4193",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 147
  },
  "hsl": {
    "h": 227.767,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40819,
    "c": 0.13727,
    "h": 268.7
  },
  "luminance": 0.06423
}

Semantic roles & 50–950 ramp

primary
#2C4193
secondary
#B8A763
accent
#BF4ADD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4193

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

Preview Lab → · Contrast checker → · Palette generator →

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