#2C3194#2C3194

#2C3194 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.159 H 273.6°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2C3194
RGBrgb(44, 49, 148)
HSLhsl(237, 54%, 38%)
HSVhsv(237, 70%, 58%)
CMYKcmyk(70.3%, 66.9%, 0%, 42%)
CIE-LABlab(26.36, 31.69, -54.99)
CIE-LCHlch(26.36, 63.46, 299.95°)
OKLaboklab(37.81% 0.0101 -0.1588)
OKLCHoklch(37.81% 0.159 273.6)
XYZxyz(7.4805, 4.8695, 28.5569)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3194 #948F2C
analogous
#2C6594 #2C3194 #5B2C94
triadic
#2C3194 #942C31 #31942C
tetradic
#2C3194 #942C65 #948F2C #2C945B
square
#2C3194 #942C65 #948F2C #2C945B
split-complementary
#2C3194 #945B2C #65942C
monochromatic
#101236 #1E2165 #2C3194 #3A41C3 #686DD2

Accessibility & contrast

On white

10.64
#2C3194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2C3194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3194
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3194#FFFFFF#000000##FFFFFF
##2C31941.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c3194;
/* rgb */ color: rgb(44, 49, 148);
/* oklch */ color: oklch(37.8% 0.159 273.6);
Tailwind
colors: {
  custom: {
    50: '#7469b4',
    500: '#2c3194',
    950: '#000000',
  },
}
SCSS
$custom: #2c3194;
$custom-light: #7469b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3194",
  "rgb": {
    "r": 44,
    "g": 49,
    "b": 148
  },
  "hsl": {
    "h": 237.115,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37812,
    "c": 0.15911,
    "h": 273.6
  },
  "luminance": 0.0487
}

Semantic roles & 50–950 ramp

primary
#2C3194
secondary
#B9B563
accent
#D64ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C3194

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

Preview Lab → · Contrast checker → · Palette generator →

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