#2C3C92#2C3C92

#2C3C92 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.142 H 270.5°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#2C3C92
RGBrgb(44, 60, 146)
HSLhsl(231, 54%, 37%)
HSVhsv(231, 70%, 57%)
CMYKcmyk(69.9%, 58.9%, 0%, 42.7%)
CIE-LABlab(29.01, 23.65, -49.43)
CIE-LCHlch(29.01, 54.80, 295.57°)
OKLaboklab(39.71% 0.0013 -0.1424)
OKLCHoklch(39.71% 0.142 270.5)
XYZxyz(7.8411, 5.8418, 27.9029)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3C92 #92822C
analogous
#2C6F92 #2C3C92 #4F2C92
triadic
#2C3C92 #922C3C #3C922C
tetradic
#2C3C92 #922C6F #92822C #2C924F
square
#2C3C92 #922C6F #92822C #2C924F
split-complementary
#2C3C92 #924F2C #6F922C
monochromatic
#101534 #1E2963 #2C3C92 #3A4FC1 #6778D1

Accessibility & contrast

On white

9.68
#2C3C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2C3C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3C92
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3C92#FFFFFF#000000##FFFFFF
##2C3C921.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c3c92;
/* rgb */ color: rgb(44, 60, 146);
/* oklch */ color: oklch(39.7% 0.142 270.5);
Tailwind
colors: {
  custom: {
    50: '#7371b3',
    500: '#2c3c92',
    950: '#000000',
  },
}
SCSS
$custom: #2c3c92;
$custom-light: #7371b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3c92",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 146
  },
  "hsl": {
    "h": 230.588,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39713,
    "c": 0.1424,
    "h": 270.5
  },
  "luminance": 0.05843
}

Semantic roles & 50–950 ramp

primary
#2C3C92
secondary
#B8AA62
accent
#C64BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3C92

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

Preview Lab → · Contrast checker → · Palette generator →

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