#2C3193#2C3193

#2C3193 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.158 H 273.7°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#2C3193
RGBrgb(44, 49, 147)
HSLhsl(237, 54%, 37%)
HSVhsv(237, 70%, 58%)
CMYKcmyk(70.1%, 66.7%, 0%, 42.4%)
CIE-LABlab(26.27, 31.33, -54.52)
CIE-LCHlch(26.27, 62.88, 299.88°)
OKLaboklab(37.72% 0.0102 -0.1574)
OKLCHoklch(37.72% 0.158 273.7)
XYZxyz(7.4017, 4.8380, 28.1419)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3193 #938E2C
analogous
#2C6593 #2C3193 #5A2C93
triadic
#2C3193 #932C31 #31932C
tetradic
#2C3193 #932C65 #938E2C #2C935A
square
#2C3193 #932C65 #938E2C #2C935A
split-complementary
#2C3193 #935A2C #65932C
monochromatic
#101235 #1E2164 #2C3193 #3A41C2 #686DD2

Accessibility & contrast

On white

10.67
#2C3193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3193
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3193#FFFFFF#000000##FFFFFF
##2C31931.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c3193;
/* rgb */ color: rgb(44, 49, 147);
/* oklch */ color: oklch(37.7% 0.158 273.7);
Tailwind
colors: {
  custom: {
    50: '#7469b4',
    500: '#2c3193',
    950: '#000000',
  },
}
SCSS
$custom: #2c3193;
$custom-light: #7469b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3193",
  "rgb": {
    "r": 44,
    "g": 49,
    "b": 147
  },
  "hsl": {
    "h": 237.087,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37717,
    "c": 0.15776,
    "h": 273.7
  },
  "luminance": 0.04839
}

Semantic roles & 50–950 ramp

primary
#2C3193
secondary
#B8B463
accent
#D64ADD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C3193

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

Preview Lab → · Contrast checker → · Palette generator →

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