#2C3192#2C3192

#2C3192 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.156 H 273.8°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#2C3192
RGBrgb(44, 49, 146)
HSLhsl(237, 54%, 37%)
HSVhsv(237, 70%, 57%)
CMYKcmyk(69.9%, 66.4%, 0%, 42.7%)
CIE-LABlab(26.18, 30.97, -54.05)
CIE-LCHlch(26.18, 62.30, 299.81°)
OKLaboklab(37.62% 0.0103 -0.1561)
OKLCHoklch(37.62% 0.156 273.8)
XYZxyz(7.3236, 4.8067, 27.7304)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3192 #928D2C
analogous
#2C6492 #2C3192 #5A2C92
triadic
#2C3192 #922C31 #31922C
tetradic
#2C3192 #922C64 #928D2C #2C925A
square
#2C3192 #922C64 #928D2C #2C925A
split-complementary
#2C3192 #925A2C #64922C
monochromatic
#101134 #1E2163 #2C3192 #3A41C1 #676CD1

Accessibility & contrast

On white

10.71
#2C3192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2C3192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3192
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3192#FFFFFF#000000##FFFFFF
##2C31921.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003990
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c3192;
/* rgb */ color: rgb(44, 49, 146);
/* oklch */ color: oklch(37.6% 0.156 273.8);
Tailwind
colors: {
  custom: {
    50: '#7369b3',
    500: '#2c3192',
    950: '#000000',
  },
}
SCSS
$custom: #2c3192;
$custom-light: #7369b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3192",
  "rgb": {
    "r": 44,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 237.059,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37623,
    "c": 0.1564,
    "h": 273.8
  },
  "luminance": 0.04807
}

Semantic roles & 50–950 ramp

primary
#2C3192
secondary
#B8B462
accent
#D64BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C3192

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

Preview Lab → · Contrast checker → · Palette generator →

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