#2C3A92#2C3A92

#2C3A92 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.145 H 271.2°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#2C3A92
RGBrgb(44, 58, 146)
HSLhsl(232, 54%, 37%)
HSVhsv(232, 70%, 57%)
CMYKcmyk(69.9%, 60.3%, 0%, 42.7%)
CIE-LABlab(28.48, 25.00, -50.30)
CIE-LCHlch(28.48, 56.17, 296.43°)
OKLaboklab(39.32% 0.0031 -0.145)
OKLCHoklch(39.32% 0.145 271.2)
XYZxyz(7.7383, 5.6362, 27.8686)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3A92 #92842C
analogous
#2C6D92 #2C3A92 #512C92
triadic
#2C3A92 #922C3A #3A922C
tetradic
#2C3A92 #922C6D #92842C #2C9251
square
#2C3A92 #922C6D #92842C #2C9251
split-complementary
#2C3A92 #92512C #6D922C
monochromatic
#101534 #1E2763 #2C3A92 #3A4DC1 #6776D1

Accessibility & contrast

On white

9.87
#2C3A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2C3A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3A92
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3A92#FFFFFF#000000##FFFFFF
##2C3A921.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c3a92;
/* rgb */ color: rgb(44, 58, 146);
/* oklch */ color: oklch(39.3% 0.145 271.2);
Tailwind
colors: {
  custom: {
    50: '#7370b3',
    500: '#2c3a92',
    950: '#000000',
  },
}
SCSS
$custom: #2c3a92;
$custom-light: #7370b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3a92",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 146
  },
  "hsl": {
    "h": 231.765,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39316,
    "c": 0.145,
    "h": 271.2
  },
  "luminance": 0.05637
}

Semantic roles & 50–950 ramp

primary
#2C3A92
secondary
#B8AC62
accent
#C94BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3A92

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

Preview Lab → · Contrast checker → · Palette generator →

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